home *** CD-ROM | disk | FTP | other *** search
/ Nathaniel Hawthorne / Nathaniel Hawthorne.iso / mac / XTRAS / MasterApp XObject < prev    next >
MacBinary  |  1997-03-30  |  64.6 KB  |  [XOBJ/MD93]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Sat Mar 29 23:30:37 1997, modified Sat Mar 29 23:30:38 1997, creator 'MD93', type 'XOBJ' "MasterApp XObject", at 0x80 65936 bytes resource Mac OSX datafork font, 'vers', map offset 0x10134, map length 0x5c, data length 0x10034, nextResourceMap 0x30d1bf0, fileRef 0x1c48, list offset 0x1c, name offset 0x52, 2 types, 0x76657273 'vers' * 2 resource offset 0x12 default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[XOBJ]
macFileCreator[MD93]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 4d 61 73 74 65 72 | 41 70 70 20 58 4f 62 6a |..Master|App XObj|
|00000010| 65 63 74 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ect.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 58 4f 42 4a 4d 44 39 | 33 01 00 00 00 00 00 00 |.XOBJMD9|3.......|
|00000050| 00 00 00 00 00 00 00 00 | 01 01 90 af 63 9c ed af |........|....c...|
|00000060| 63 9c ee 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |c.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ee d8 00 00 |........|........|
|00000080| 00 00 01 00 00 01 01 34 | 00 01 00 34 00 00 00 5c |.......4|...4...\|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 11 4d 61 73 74 65 72 41 | 70 70 20 58 4f 62 6a 65 |.MasterA|pp XObje|
|000000c0| 63 74 02 00 00 00 58 4f | 42 4a 4d 44 39 33 01 00 |ct....XO|BJMD93..|
|000000d0| 00 00 58 4f 42 4a 4d 44 | 39 33 01 00 00 3d 00 9c |..XOBJMD|93...=..|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 af 63 9c ed 00 00 | 00 00 00 01 01 90 00 00 |...c....|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 40 01 00 80 00 | 00 00 03 31 2e 30 35 31 |...@....|...1.051|
|00000190| 2e 30 2c 20 a9 20 31 39 | 39 36 2d 31 39 39 37 20 |.0, . 19|96-1997 |
|000001a0| 47 6c 65 6e 6e 20 4d 2e | 20 50 69 63 68 65 72 20 |Glenn M.| Picher |
|000001b0| 28 72 65 67 69 73 74 65 | 72 65 64 20 76 65 72 73 |(registe|red vers|
|000001c0| 69 6f 6e 29 00 00 00 22 | 01 00 80 00 00 00 03 31 |ion)..."|.......1|
|000001d0| 2e 30 17 44 69 72 69 67 | 6f 20 4d 75 6c 74 69 6d |.0.Dirig|o Multim|
|000001e0| 65 64 69 61 20 74 6f 6f | 6c 73 00 00 ff c6 60 00 |edia too|ls....`.|
|000001f0| 73 9c 00 00 00 00 00 00 | 00 00 2a 2d 2d 20 4d 61 |s.......|..*-- Ma|
|00000200| 73 74 65 72 41 70 70 20 | 58 4f 62 6a 65 63 74 2c |sterApp |XObject,|
|00000210| 20 76 65 72 73 69 6f 6e | 20 31 2e 30 2c 20 33 2f | version| 1.0, 3/|
|00000220| 32 39 2f 39 37 3c 2d 2d | 20 43 6f 70 79 72 69 67 |29/97<--| Copyrig|
|00000230| 68 74 20 a9 20 31 39 39 | 36 2d 31 39 39 37 2c 20 |ht . 199|6-1997, |
|00000240| 47 6c 65 6e 6e 20 4d 2e | 20 50 69 63 68 65 72 2c |Glenn M.| Picher,|
|00000250| 20 44 69 72 69 67 6f 20 | 4d 75 6c 74 69 6d 65 64 | Dirigo |Multimed|
|00000260| 69 61 47 2d 2d 20 68 74 | 74 70 3a 2f 2f 77 77 77 |iaG-- ht|tp://www|
|00000270| 2e 6d 61 69 6e 65 2e 63 | 6f 6d 2f 73 68 6f 70 73 |.maine.c|om/shops|
|00000280| 2f 67 70 69 63 68 65 72 | 2c 20 67 70 69 63 68 65 |/gpicher|, gpiche|
|00000290| 72 40 6d 61 69 6e 65 2e | 63 6f 6d 2c 20 28 32 30 |r@maine.|com, (20|
|000002a0| 37 29 37 36 37 2d 38 30 | 31 35 03 2d 2d 20 49 2d |7)767-80|15.-- I-|
|000002b0| 2d 20 50 75 62 6c 69 73 | 68 65 64 20 62 79 20 67 |- Publis|hed by g|
|000002c0| 2f 6d 61 74 74 65 72 2c | 20 69 6e 63 2e 20 46 6f |/matter,| inc. Fo|
|000002d0| 72 20 6c 69 63 65 6e 73 | 69 6e 67 2c 20 63 61 6c |r licens|ing, cal|
|000002e0| 6c 20 28 38 30 30 29 39 | 33 33 2d 36 32 32 33 20 |l (800)9|33-6223 |
|000002f0| 6f 72 20 65 6d 61 69 6c | 48 2d 2d 20 73 61 6c 65 |or email|H-- sale|
|00000300| 73 40 67 6d 61 74 74 65 | 72 2e 63 6f 6d 2e 20 46 |s@gmatte|r.com. F|
|00000310| 6f 72 20 74 65 63 68 6e | 69 63 61 6c 20 73 75 70 |or techn|ical sup|
|00000320| 70 6f 72 74 2c 20 63 61 | 6c 6c 20 28 34 31 35 29 |port, ca|ll (415)|
|00000330| 32 34 33 2d 30 33 39 34 | 20 6f 72 20 65 6d 61 69 |243-0394| or emai|
|00000340| 6c 50 2d 2d 20 73 75 70 | 70 6f 72 74 40 67 6d 61 |lP-- sup|port@gma|
|00000350| 74 74 65 72 2e 63 6f 6d | 20 2e 20 56 69 73 69 74 |tter.com| . Visit|
|00000360| 20 74 68 65 20 67 2f 6d | 61 74 74 65 72 20 57 65 | the g/m|atter We|
|00000370| 62 20 73 69 74 65 20 61 | 74 20 68 74 74 70 3a 2f |b site a|t http:/|
|00000380| 2f 77 77 77 2e 67 6d 61 | 74 74 65 72 2e 63 6f 6d |/www.gma|tter.com|
|00000390| 20 2e 02 2d 2d 4b 2d 2d | 20 52 65 67 69 73 74 65 | ..--K--| Registe|
|000003a0| 72 65 64 20 76 65 72 73 | 69 6f 6e 2d 2d 20 74 68 |red vers|ion-- th|
|000003b0| 61 6e 6b 73 21 20 44 6f | 6e 27 74 20 66 6f 72 67 |anks! Do|n't forg|
|000003c0| 65 74 20 74 6f 20 75 73 | 65 20 79 6f 75 72 20 72 |et to us|e your r|
|000003d0| 65 67 69 73 74 72 61 74 | 69 6f 6e 20 6b 65 79 73 |egistrat|ion keys|
|000003e0| 21 02 2d 2d 06 49 20 6d | 4e 65 77 1b 2d 2d 20 53 |!.--.I m|New.-- S|
|000003f0| 74 61 6e 64 61 72 64 20 | 63 72 65 61 74 69 6f 6e |tandard |creation|
|00000400| 20 6d 65 74 68 6f 64 02 | 2d 2d 0a 58 20 6d 44 69 | method.|--.X mDi|
|00000410| 73 70 6f 73 65 1a 2d 2d | 20 53 74 61 6e 64 61 72 |spose.--| Standar|
|00000420| 64 20 64 69 73 70 6f 73 | 65 20 6d 65 74 68 6f 64 |d dispos|e method|
|00000430| 02 2d 2d 40 2d 2d 20 4e | 6f 74 65 3a 20 43 68 65 |.--@-- N|ote: Che|
|00000440| 63 6b 20 61 6c 6c 20 73 | 74 72 69 6e 67 2d 72 65 |ck all s|tring-re|
|00000450| 74 75 72 6e 69 6e 67 20 | 6d 65 74 68 6f 64 73 20 |turning |methods |
|00000460| 66 6f 72 20 77 6f 72 64 | 20 31 20 27 45 72 72 6f |for word| 1 'Erro|
|00000470| 72 3a 27 2c 2c 2d 2d 20 | 66 6f 6c 6c 6f 77 65 64 |r:',,-- |followed|
|00000480| 20 62 79 20 61 20 64 65 | 73 63 72 69 70 74 69 6f | by a de|scriptio|
|00000490| 6e 20 6f 66 20 74 68 65 | 20 70 72 6f 62 6c 65 6d |n of the| problem|
|000004a0| 2e 02 2d 2d 11 2d 2d 20 | 54 41 53 4b 20 46 55 4e |..--.-- |TASK FUN|
|000004b0| 43 54 49 4f 4e 53 11 2d | 2d 20 2d 2d 2d 2d 2d 2d |CTIONS.-|- ------|
|000004c0| 2d 2d 2d 2d 2d 2d 2d 2d | 4d 2d 2d 20 4e 6f 74 65 |--------|M-- Note|
|000004d0| 3a 20 6f 6e 20 74 68 65 | 20 4d 61 63 2c 20 64 75 |: on the| Mac, du|
|000004e0| 65 20 74 6f 20 61 72 63 | 68 69 74 65 63 74 75 72 |e to arc|hitectur|
|000004f0| 61 6c 20 64 69 66 66 65 | 72 65 6e 63 65 73 2c 20 |al diffe|rences, |
|00000500| 74 61 73 6b 49 44 73 2c | 20 6d 6f 64 75 6c 65 49 |taskIDs,| moduleI|
|00000510| 44 73 20 61 6e 64 55 2d | 2d 20 69 6e 73 74 61 6e |Ds andU-|- instan|
|00000520| 63 65 49 44 73 20 61 72 | 65 20 69 6e 74 65 72 63 |ceIDs ar|e interc|
|00000530| 68 61 6e 67 65 61 62 6c | 65 2e 20 54 68 65 79 20 |hangeabl|e. They |
|00000540| 61 72 65 20 64 69 73 74 | 69 6e 63 74 6c 79 20 64 |are dist|inctly d|
|00000550| 69 66 66 65 72 65 6e 74 | 20 6e 75 6d 62 65 72 73 |ifferent| numbers|
|00000560| 20 6f 6e 20 57 69 6e 64 | 6f 77 73 2e 02 2d 2d 0e | on Wind|ows..--.|
|00000570| 53 20 6d 47 65 74 54 61 | 73 6b 4c 69 73 74 46 2d |S mGetTa|skListF-|
|00000580| 2d 20 52 65 74 75 72 6e | 73 20 61 20 73 74 72 69 |- Return|s a stri|
|00000590| 6e 67 20 6f 66 20 61 6c | 6c 20 63 75 72 72 65 6e |ng of al|l curren|
|000005a0| 74 6c 79 20 72 75 6e 6e | 69 6e 67 20 74 61 73 6b |tly runn|ing task|
|000005b0| 73 2c 20 77 69 74 68 20 | 74 68 65 20 66 6f 6c 6c |s, with |the foll|
|000005c0| 6f 77 69 6e 67 2a 2d 2d | 20 69 6e 66 6f 20 6f 6e |owing*--| info on|
|000005d0| 20 65 61 63 68 20 6c 69 | 6e 65 2c 20 73 65 70 61 | each li|ne, sepa|
|000005e0| 72 61 74 65 64 20 62 79 | 20 63 6f 6d 6d 61 73 3a |rated by| commas:|
|000005f0| 39 2d 2d 20 20 20 74 61 | 73 6b 4e 61 6d 65 2c 20 |9-- ta|skName, |
|00000600| 74 61 73 6b 49 44 2c 20 | 70 61 72 65 6e 74 54 61 |taskID, |parentTa|
|00000610| 73 6b 49 44 2c 20 69 6e | 73 74 61 6e 63 65 49 44 |skID, in|stanceID|
|00000620| 2c 20 6d 6f 64 75 6c 65 | 49 44 3d 2d 2d 20 4f 6e |, module|ID=-- On|
|00000630| 20 74 68 65 20 4d 61 63 | 2c 20 74 61 73 6b 49 44 | the Mac|, taskID|
|00000640| 2c 20 69 6e 73 74 61 6e | 63 65 49 44 20 61 6e 64 |, instan|ceID and|
|00000650| 20 6d 6f 64 75 6c 65 49 | 44 20 61 72 65 20 69 64 | moduleI|D are id|
|00000660| 65 6e 74 69 63 61 6c 2e | 45 2d 2d 20 4f 6e 20 74 |entical.|E-- On t|
|00000670| 68 65 20 4d 61 63 2c 20 | 74 61 73 6b 49 44 73 20 |he Mac, |taskIDs |
|00000680| 61 72 65 20 75 6e 69 71 | 75 65 20 74 6f 20 65 61 |are uniq|ue to ea|
|00000690| 63 68 20 4d 61 73 74 65 | 72 41 70 70 20 58 4f 62 |ch Maste|rApp XOb|
|000006a0| 6a 65 63 74 20 69 6e 73 | 74 61 6e 63 65 2c 4b 2d |ject ins|tance,K-|
|000006b0| 2d 20 62 65 63 61 75 73 | 65 20 74 61 73 6b 49 44 |- becaus|e taskID|
|000006c0| 73 20 61 72 65 20 6d 61 | 69 6e 74 61 69 6e 65 64 |s are ma|intained|
|000006d0| 20 62 79 20 4d 61 73 74 | 65 72 41 70 70 2c 20 6e | by Mast|erApp, n|
|000006e0| 6f 74 20 62 79 20 74 68 | 65 20 73 79 73 74 65 6d |ot by th|e system|
|000006f0| 20 73 6f 66 74 77 61 72 | 65 2e 3b 2d 2d 20 44 6f | softwar|e.;-- Do|
|00000700| 20 6e 6f 74 20 75 73 65 | 20 6f 6e 65 20 69 6e 73 | not use| one ins|
|00000710| 74 61 6e 63 65 27 73 20 | 74 61 73 6b 49 44 73 20 |tance's |taskIDs |
|00000720| 77 69 74 68 20 61 6e 6f | 74 68 65 72 20 69 6e 73 |with ano|ther ins|
|00000730| 74 61 6e 63 65 2e 48 2d | 2d 20 4f 6e 20 74 68 65 |tance.H-|- On the|
|00000740| 20 4d 61 63 2c 20 6f 6e | 6c 79 20 74 68 65 20 46 | Mac, on|ly the F|
|00000750| 69 6e 64 65 72 20 68 61 | 73 20 30 20 66 6f 72 20 |inder ha|s 0 for |
|00000760| 70 61 72 65 6e 74 54 61 | 73 6b 49 44 2e 20 41 6c |parentTa|skID. Al|
|00000770| 6c 20 6f 74 68 65 72 20 | 74 61 73 6b 49 44 73 4a |l other |taskIDsJ|
|00000780| 2d 2d 20 61 72 65 20 70 | 6f 73 69 74 69 76 65 20 |-- are p|ositive |
|00000790| 69 6e 74 65 67 65 72 73 | 20 33 32 20 6f 72 20 68 |integers| 32 or h|
|000007a0| 69 67 68 65 72 3b 20 61 | 6e 79 20 6f 74 68 65 72 |igher; a|ny other|
|000007b0| 20 76 61 6c 75 65 20 69 | 6e 64 69 63 61 74 65 73 | value i|ndicates|
|000007c0| 20 61 6e 20 65 72 72 6f | 72 2e 43 2d 2d 20 42 65 | an erro|r.C-- Be|
|000007d0| 77 61 72 65 20 6f 66 20 | 74 61 73 6b 4e 61 6d 65 |ware of |taskName|
|000007e0| 73 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 63 6f 6d |s contai|ning com|
|000007f0| 6d 61 73 20 77 68 65 6e | 20 69 6e 74 65 72 70 72 |mas when| interpr|
|00000800| 65 74 69 6e 67 20 72 65 | 73 75 6c 74 73 21 0d 53 |eting re|sults!.S|
|00000810| 20 6d 47 65 74 54 61 73 | 6b 49 44 73 46 2d 2d 20 | mGetTas|kIDsF-- |
|00000820| 52 65 74 75 72 6e 73 20 | 61 20 73 74 72 69 6e 67 |Returns |a string|
|00000830| 20 6f 66 20 74 68 65 20 | 74 61 73 6b 49 44 73 20 | of the |taskIDs |
|00000840| 6f 66 20 61 6c 6c 20 63 | 75 72 72 65 6e 74 6c 79 |of all c|urrently|
|00000850| 20 72 75 6e 6e 69 6e 67 | 20 74 61 73 6b 73 2c 20 | running| tasks, |
|00000860| 61 6c 6c 4c 2d 2d 20 6f | 6e 20 6f 6e 65 20 6c 69 |allL-- o|n one li|
|00000870| 6e 65 2c 20 73 65 70 61 | 72 61 74 65 64 20 62 79 |ne, sepa|rated by|
|00000880| 20 73 70 61 63 65 73 2e | 20 55 73 65 20 27 77 6f | spaces.| Use 'wo|
|00000890| 72 64 27 20 74 6f 20 77 | 61 6c 6b 20 74 68 72 6f |rd' to w|alk thro|
|000008a0| 75 67 68 20 74 68 65 20 | 72 65 73 75 6c 74 73 2e |ugh the |results.|
|000008b0| 4a 2d 2d 20 54 68 69 73 | 20 69 73 20 6d 6f 72 65 |J-- This| is more|
|000008c0| 20 70 72 65 63 69 73 65 | 20 74 68 61 6e 20 6d 47 | precise| than mG|
|000008d0| 65 74 54 61 73 6b 4c 69 | 73 74 2c 20 62 65 63 61 |etTaskLi|st, beca|
|000008e0| 75 73 65 20 61 20 74 61 | 73 6b 4e 61 6d 65 20 63 |use a ta|skName c|
|000008f0| 6f 6e 74 61 69 6e 69 6e | 67 20 61 4c 2d 2d 20 63 |ontainin|g aL-- c|
|00000900| 6f 6d 6d 61 20 77 6f 6e | 27 74 20 61 66 66 65 63 |omma won|'t affec|
|00000910| 74 20 74 68 65 20 70 6f | 73 69 74 69 6f 6e 20 6f |t the po|sition o|
|00000920| 66 20 74 68 65 20 72 65 | 73 75 6c 74 73 2e 20 53 |f the re|sults. S|
|00000930| 65 65 20 6d 47 65 74 54 | 61 73 6b 4c 69 73 74 20 |ee mGetT|askList |
|00000940| 66 6f 72 20 6d 6f 72 65 | 36 2d 2d 20 69 6e 66 6f |for more|6-- info|
|00000950| 72 6d 61 74 69 6f 6e 20 | 61 62 6f 75 74 20 4d 61 |rmation |about Ma|
|00000960| 63 2d 73 70 65 63 69 66 | 69 63 20 69 73 73 75 65 |c-specif|ic issue|
|00000970| 73 20 77 69 74 68 20 74 | 61 73 6b 49 44 73 2e 14 |s with t|askIDs..|
|00000980| 53 49 20 6d 54 61 73 6b | 4e 61 6d 65 2c 20 74 61 |SI mTask|Name, ta|
|00000990| 73 6b 49 44 51 2d 2d 20 | 52 65 74 75 72 6e 73 20 |skIDQ-- |Returns |
|000009a0| 69 6e 74 65 72 6e 61 6c | 20 6e 61 6d 65 20 66 6f |internal| name fo|
|000009b0| 72 20 61 20 74 61 73 6b | 49 44 2e 20 4f 6e 20 74 |r a task|ID. On t|
|000009c0| 68 65 20 4d 61 63 2c 20 | 69 66 20 74 68 65 20 74 |he Mac, |if the t|
|000009d0| 61 73 6b 20 69 73 20 61 | 6e 20 61 70 70 6c 69 63 |ask is a|n applic|
|000009e0| 61 74 69 6f 6e 2c 4d 2d | 2d 20 74 68 69 73 20 69 |ation,M-|- this i|
|000009f0| 73 20 74 68 65 20 73 61 | 6d 65 20 74 65 78 74 20 |s the sa|me text |
|00000a00| 74 68 61 74 27 73 20 64 | 69 73 70 6c 61 79 65 64 |that's d|isplayed|
|00000a10| 20 6f 6e 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 | on the |applicat|
|00000a20| 69 6f 6e 73 20 70 75 6c | 6c 2d 64 6f 77 6e 20 6d |ions pul|l-down m|
|00000a30| 65 6e 75 2e 3c 2d 2d 20 | 55 73 65 20 6d 4d 6f 64 |enu.<-- |Use mMod|
|00000a40| 75 6c 65 46 69 6c 65 4e | 61 6d 65 20 74 6f 20 67 |uleFileN|ame to g|
|00000a50| 65 74 20 74 68 65 20 66 | 75 6c 6c 20 66 69 6c 65 |et the f|ull file|
|00000a60| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 74 61 73 6b |name of |the task|
|00000a70| 2e 16 49 49 20 6d 54 61 | 73 6b 50 61 72 65 6e 74 |..II mTa|skParent|
|00000a80| 2c 20 74 61 73 6b 49 44 | 22 2d 2d 20 52 65 74 75 |, taskID|"-- Retu|
|00000a90| 72 6e 73 20 74 68 65 20 | 74 61 73 6b 27 73 20 70 |rns the |task's p|
|00000aa0| 61 72 65 6e 74 20 74 61 | 73 6b 2e 18 49 49 20 6d |arent ta|sk..II m|
|00000ab0| 54 61 73 6b 49 6e 73 74 | 61 6e 63 65 2c 20 74 61 |TaskInst|ance, ta|
|00000ac0| 73 6b 49 44 53 2d 2d 20 | 52 65 74 75 72 6e 73 20 |skIDS-- |Returns |
|00000ad0| 61 20 74 61 73 6b 27 73 | 20 69 6e 73 74 61 6e 63 |a task's| instanc|
|00000ae0| 65 49 44 2e 20 4f 6e 20 | 74 68 65 20 4d 61 63 2c |eID. On |the Mac,|
|00000af0| 20 74 68 65 20 74 61 73 | 6b 49 44 20 61 6e 64 20 | the tas|kID and |
|00000b00| 69 6e 73 74 61 6e 63 65 | 49 44 20 61 72 65 20 74 |instance|ID are t|
|00000b10| 68 65 20 73 61 6d 65 2e | 47 2d 2d 20 52 65 74 75 |he same.|G-- Retu|
|00000b20| 72 6e 73 20 74 68 65 20 | 73 61 6d 65 20 49 44 20 |rns the |same ID |
|00000b30| 70 72 6f 76 69 64 65 64 | 2c 20 6f 72 20 30 20 69 |provided|, or 0 i|
|00000b40| 66 20 74 68 65 20 74 61 | 73 6b 49 44 20 69 73 20 |f the ta|skID is |
|00000b50| 6e 6f 20 6c 6f 6e 67 65 | 72 20 76 61 6c 69 64 2e |no longe|r valid.|
|00000b60| 16 49 49 20 6d 54 61 73 | 6b 4d 6f 64 75 6c 65 2c |.II mTas|kModule,|
|00000b70| 20 74 61 73 6b 49 44 4f | 2d 2d 20 52 65 74 75 72 | taskIDO|-- Retur|
|00000b80| 6e 73 20 61 20 74 61 73 | 6b 27 73 20 6d 6f 64 75 |ns a tas|k's modu|
|00000b90| 6c 65 49 44 2e 20 4f 6e | 20 74 68 65 20 4d 61 63 |leID. On| the Mac|
|00000ba0| 2c 20 74 68 65 20 74 61 | 73 6b 49 44 20 61 6e 64 |, the ta|skID and|
|00000bb0| 20 6d 6f 64 75 6c 65 49 | 44 20 61 72 65 20 74 68 | moduleI|D are th|
|00000bc0| 65 20 73 61 6d 65 2e 47 | 2d 2d 20 52 65 74 75 72 |e same.G|-- Retur|
|00000bd0| 6e 73 20 74 68 65 20 73 | 61 6d 65 20 49 44 20 70 |ns the s|ame ID p|
|00000be0| 72 6f 76 69 64 65 64 2c | 20 6f 72 20 30 20 69 66 |rovided,| or 0 if|
|00000bf0| 20 74 68 65 20 74 61 73 | 6b 49 44 20 69 73 20 6e | the tas|kID is n|
|00000c00| 6f 20 6c 6f 6e 67 65 72 | 20 76 61 6c 69 64 2e 16 |o longer| valid..|
|00000c10| 49 49 20 6d 54 61 73 6b | 45 76 65 6e 74 73 2c 20 |II mTask|Events, |
|00000c20| 74 61 73 6b 49 44 4c 2d | 2d 20 52 65 74 75 72 6e |taskIDL-|- Return|
|00000c30| 73 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |s the nu|mber of |
|00000c40| 65 76 65 6e 74 73 20 77 | 61 69 74 69 6e 67 20 66 |events w|aiting f|
|00000c50| 6f 72 20 74 68 65 20 74 | 61 73 6b 20 74 6f 20 70 |or the t|ask to p|
|00000c60| 72 6f 63 65 73 73 2e 20 | 4f 6e 20 74 68 65 20 4d |rocess. |On the M|
|00000c70| 61 63 2c 4c 2d 2d 20 74 | 68 69 73 20 6e 65 76 65 |ac,L-- t|his neve|
|00000c80| 72 20 72 65 74 75 72 6e | 73 20 6d 6f 72 65 20 74 |r return|s more t|
|00000c90| 68 61 6e 20 31 2c 20 61 | 6e 64 20 61 6c 77 61 79 |han 1, a|nd alway|
|00000ca0| 73 20 72 65 74 75 72 6e | 73 20 30 20 66 6f 72 20 |s return|s 0 for |
|00000cb0| 74 61 73 6b 73 20 6f 74 | 68 65 72 20 74 68 61 6e |tasks ot|her than|
|00000cc0| 4a 2d 2d 20 74 68 65 20 | 44 69 72 65 63 74 6f 72 |J-- the |Director|
|00000cd0| 20 74 61 73 6b 20 69 74 | 73 65 6c 66 20 28 62 65 | task it|self (be|
|00000ce0| 63 61 75 73 65 20 6f 66 | 20 64 69 66 66 65 72 65 |cause of| differe|
|00000cf0| 6e 63 65 73 20 69 6e 20 | 74 68 65 20 4d 61 63 20 |nces in |the Mac |
|00000d00| 61 6e 64 20 57 69 6e 64 | 6f 77 73 43 2d 2d 20 65 |and Wind|owsC-- e|
|00000d10| 76 65 6e 74 20 70 72 6f | 63 65 73 73 69 6e 67 20 |vent pro|cessing |
|00000d20| 61 72 63 68 69 74 65 63 | 74 75 72 65 29 2e 20 52 |architec|ture). R|
|00000d30| 65 74 75 72 6e 73 20 2d | 31 20 69 66 20 74 61 73 |eturns -|1 if tas|
|00000d40| 6b 49 44 20 69 73 20 69 | 6e 76 61 6c 69 64 2e 1d |kID is i|nvalid..|
|00000d50| 53 49 20 6d 47 65 74 54 | 61 73 6b 57 69 6e 64 6f |SI mGetT|askWindo|
|00000d60| 77 4c 69 73 74 2c 20 74 | 61 73 6b 49 44 4c 2d 2d |wList, t|askIDL--|
|00000d70| 20 47 65 74 20 61 20 6c | 69 73 74 20 6f 66 20 61 | Get a l|ist of a|
|00000d80| 6c 6c 20 77 69 6e 64 6f | 77 73 20 6f 77 6e 65 64 |ll windo|ws owned|
|00000d90| 20 62 79 20 74 68 65 20 | 74 61 73 6b 2c 20 6f 6e | by the |task, on|
|00000da0| 65 20 70 65 72 20 6c 69 | 6e 65 2c 20 69 6e 20 74 |e per li|ne, in t|
|00000db0| 68 65 20 66 6f 72 6d 61 | 74 3a 42 2d 2d 20 20 20 |he forma|t:B-- |
|00000dc0| 77 69 6e 64 6f 77 4e 61 | 6d 65 2c 20 77 69 6e 64 |windowNa|me, wind|
|00000dd0| 6f 77 49 44 2c 20 70 61 | 72 65 6e 74 57 69 6e 64 |owID, pa|rentWind|
|00000de0| 6f 77 49 44 2c 20 68 61 | 73 43 68 69 6c 64 72 65 |owID, ha|sChildre|
|00000df0| 6e 2c 20 77 69 6e 64 6f | 77 54 79 70 65 49 2d 2d |n, windo|wTypeI--|
|00000e00| 20 4f 6e 20 74 68 65 20 | 4d 61 63 2c 20 70 61 72 | On the |Mac, par|
|00000e10| 65 6e 74 57 69 6e 64 6f | 77 49 44 20 69 73 20 61 |entWindo|wID is a|
|00000e20| 6c 77 61 79 73 20 30 2e | 20 42 65 63 61 75 73 65 |lways 0.| Because|
|00000e30| 20 77 69 6e 64 6f 77 4e | 61 6d 65 20 6d 61 79 20 | windowN|ame may |
|00000e40| 63 6f 6e 74 61 69 6e 48 | 2d 2d 20 63 6f 6d 6d 61 |containH|-- comma|
|00000e50| 73 2c 20 6d 47 65 74 54 | 61 73 6b 57 69 6e 64 6f |s, mGetT|askWindo|
|00000e60| 77 49 44 73 20 69 73 20 | 61 20 6d 6f 72 65 20 62 |wIDs is |a more b|
|00000e70| 75 6c 6c 65 74 70 72 6f | 6f 66 20 6d 65 74 68 6f |ulletpro|of metho|
|00000e80| 64 20 6f 66 20 69 64 65 | 6e 74 69 66 79 69 6e 67 |d of ide|ntifying|
|00000e90| 0f 2d 2d 20 61 6c 6c 20 | 77 69 6e 64 6f 77 73 2e |.-- all |windows.|
|00000ea0| 16 58 20 6d 44 6f 6e 74 | 55 73 65 4c 61 79 65 72 |.X mDont|UseLayer|
|00000eb0| 4d 61 6e 61 67 65 72 12 | 58 20 6d 55 73 65 4c 61 |Manager.|X mUseLa|
|00000ec0| 79 65 72 4d 61 6e 61 67 | 65 72 4d 2d 2d 20 44 69 |yerManag|erM-- Di|
|00000ed0| 73 61 6c 6c 6f 77 20 6f | 72 20 61 6c 6c 6f 77 20 |sallow o|r allow |
|00000ee0| 75 73 65 20 6f 66 20 74 | 68 65 20 75 6e 64 6f 63 |use of t|he undoc|
|00000ef0| 75 6d 65 6e 74 65 64 20 | 4c 61 79 65 72 20 4d 61 |umented |Layer Ma|
|00000f00| 6e 61 67 65 72 20 69 6e | 20 64 65 74 65 63 74 69 |nager in| detecti|
|00000f10| 6e 67 20 6f 74 68 65 72 | 53 2d 2d 20 61 70 70 6c |ng other|S-- appl|
|00000f20| 69 63 61 74 69 6f 6e 73 | 27 20 77 69 6e 64 6f 77 |ications|' window|
|00000f30| 73 2e 20 54 68 65 20 4c | 61 79 65 72 20 4d 61 6e |s. The L|ayer Man|
|00000f40| 61 67 65 72 20 69 73 20 | 6c 69 6b 65 6c 79 20 6e |ager is |likely n|
|00000f50| 6f 74 20 74 6f 20 77 6f | 72 6b 20 77 69 74 68 20 |ot to wo|rk with |
|00000f60| 66 75 74 75 72 65 20 4d | 61 63 4f 53 53 2d 2d 20 |future M|acOSS-- |
|00000f70| 6f 70 65 72 61 74 69 6e | 67 20 73 79 73 74 65 6d |operatin|g system|
|00000f80| 20 76 65 72 73 69 6f 6e | 73 20 28 53 79 73 74 65 | version|s (Syste|
|00000f90| 6d 20 38 2e 30 20 26 20 | 6c 61 74 65 72 2c 20 6f |m 8.0 & |later, o|
|00000fa0| 72 20 4e 65 78 74 2f 4f | 53 20 72 65 6c 65 61 73 |r Next/O|S releas|
|00000fb0| 65 73 29 2e 20 42 79 20 | 64 65 66 61 75 6c 74 2c |es). By |default,|
|00000fc0| 56 2d 2d 20 75 73 65 20 | 6f 66 20 74 68 65 20 4c |V-- use |of the L|
|00000fd0| 61 79 65 72 20 4d 61 6e | 61 67 65 72 20 69 73 20 |ayer Man|ager is |
|00000fe0| 61 6c 6c 6f 77 65 64 20 | 69 66 20 74 68 65 20 73 |allowed |if the s|
|00000ff0| 79 73 74 65 6d 20 76 65 | 72 73 69 6f 6e 20 69 73 |ystem ve|rsion is|
|00001000| 20 37 2e 31 20 6f 72 20 | 67 72 65 61 74 65 72 2c | 7.1 or |greater,|
|00001010| 20 62 75 74 20 69 73 50 | 2d 2d 20 64 69 73 61 6c | but isP|-- disal|
|00001020| 6c 6f 77 65 64 20 69 66 | 20 69 74 27 73 20 38 2e |lowed if| it's 8.|
|00001030| 30 20 6f 72 20 67 72 65 | 61 74 65 72 2e 20 49 66 |0 or gre|ater. If|
|00001040| 20 75 73 65 20 6f 66 20 | 74 68 65 20 4c 61 79 65 | use of |the Laye|
|00001050| 72 20 4d 61 6e 61 67 65 | 72 20 69 73 20 64 69 73 |r Manage|r is dis|
|00001060| 61 6c 6c 6f 77 65 64 2c | 51 2d 2d 20 79 6f 75 20 |allowed,|Q-- you |
|00001070| 63 61 6e 20 6f 6e 6c 79 | 20 64 65 74 65 63 74 20 |can only| detect |
|00001080| 77 69 6e 64 6f 77 73 20 | 6f 66 20 74 68 65 20 44 |windows |of the D|
|00001090| 69 72 65 63 74 6f 72 20 | 74 61 73 6b 20 69 74 73 |irector |task its|
|000010a0| 65 6c 66 2e 20 4f 6e 63 | 65 20 38 2e 30 20 69 73 |elf. Onc|e 8.0 is|
|000010b0| 20 72 65 6c 65 61 73 65 | 64 2c 3f 2d 2d 20 63 68 | release|d,?-- ch|
|000010c0| 65 63 6b 20 66 6f 72 20 | 66 75 74 75 72 65 20 72 |eck for |future r|
|000010d0| 65 6c 65 61 73 65 73 20 | 6f 66 20 74 68 69 73 20 |eleases |of this |
|000010e0| 58 4f 62 6a 65 63 74 20 | 20 77 68 69 63 68 20 77 |XObject | which w|
|000010f0| 69 6c 6c 20 64 65 74 65 | 63 74 49 2d 2d 20 6f 74 |ill dete|ctI-- ot|
|00001100| 68 65 72 20 61 70 70 27 | 73 20 77 69 6e 64 6f 77 |her app'|s window|
|00001110| 73 20 61 63 63 6f 72 64 | 69 6e 67 20 74 6f 20 38 |s accord|ing to 8|
|00001120| 2e 30 20 73 70 65 63 69 | 66 69 63 61 74 69 6f 6e |.0 speci|fication|
|00001130| 73 2e 20 54 68 65 73 65 | 20 74 77 6f 20 6d 65 74 |s. These| two met|
|00001140| 68 6f 64 73 4f 2d 2d 20 | 61 72 65 20 70 72 6f 76 |hodsO-- |are prov|
|00001150| 69 64 65 64 20 74 6f 20 | 61 6c 6c 6f 77 20 79 6f |ided to |allow yo|
|00001160| 75 20 74 6f 20 6f 76 65 | 72 72 69 64 65 20 74 68 |u to ove|rride th|
|00001170| 65 20 64 65 66 61 75 6c | 74 20 62 65 68 61 76 69 |e defaul|t behavi|
|00001180| 6f 72 20 6f 66 20 2a 74 | 68 69 73 2a 20 76 65 72 |or of *t|his* ver|
|00001190| 73 69 6f 6e 4d 2d 2d 20 | 6f 66 20 74 68 65 20 58 |sionM-- |of the X|
|000011a0| 4f 62 6a 65 63 74 2c 20 | 77 68 69 63 68 20 73 68 |Object, |which sh|
|000011b0| 6f 75 6c 64 20 62 65 20 | 73 61 66 65 2c 20 69 66 |ould be |safe, if|
|000011c0| 20 6e 6f 74 20 66 75 6c | 6c 79 20 66 75 6e 63 74 | not ful|ly funct|
|000011d0| 69 6f 6e 61 6c 2c 20 75 | 6e 64 65 72 20 38 2e 30 |ional, u|nder 8.0|
|000011e0| 20 2e 3f 2d 2d 20 54 68 | 65 73 65 20 6d 65 74 68 | .?-- Th|ese meth|
|000011f0| 6f 64 73 20 6f 6e 6c 79 | 20 65 78 69 73 74 20 69 |ods only| exist i|
|00001200| 6e 20 74 68 65 20 4d 61 | 63 20 76 65 72 73 69 6f |n the Ma|c versio|
|00001210| 6e 20 6f 66 20 74 68 69 | 73 20 58 4f 62 6a 65 63 |n of thi|s XObjec|
|00001220| 74 2e 1c 53 49 20 6d 47 | 65 74 54 61 73 6b 57 69 |t..SI mG|etTaskWi|
|00001230| 6e 64 6f 77 49 44 73 2c | 20 74 61 73 6b 49 44 4c |ndowIDs,| taskIDL|
|00001240| 2d 2d 20 52 65 74 75 72 | 6e 73 20 61 20 73 74 72 |-- Retur|ns a str|
|00001250| 69 6e 67 20 6f 66 20 74 | 68 65 20 77 69 6e 64 6f |ing of t|he windo|
|00001260| 77 49 44 73 20 6f 66 20 | 61 6c 6c 20 74 68 65 20 |wIDs of |all the |
|00001270| 74 61 73 6b 73 27 20 77 | 69 6e 64 6f 77 73 2c 20 |tasks' w|indows, |
|00001280| 6f 6e 20 6f 6e 65 20 6c | 69 6e 65 2c 4c 2d 2d 20 |on one l|ine,L-- |
|00001290| 73 65 70 61 72 61 74 65 | 64 20 62 79 20 73 70 61 |separate|d by spa|
|000012a0| 63 65 73 2e 20 55 73 65 | 20 27 77 6f 72 64 27 20 |ces. Use| 'word' |
|000012b0| 74 6f 20 77 61 6c 6b 20 | 74 68 72 6f 75 67 68 20 |to walk |through |
|000012c0| 74 68 65 20 72 65 73 75 | 6c 74 73 2e 20 4d 6f 72 |the resu|lts. Mor|
|000012d0| 65 20 70 72 65 63 69 73 | 65 2d 2d 2d 20 62 75 74 |e precis|e--- but|
|000012e0| 20 68 61 72 64 65 72 20 | 74 6f 20 75 73 65 20 74 | harder |to use t|
|000012f0| 68 61 6e 20 6d 47 65 74 | 54 61 73 6b 57 69 6e 64 |han mGet|TaskWind|
|00001300| 6f 77 4c 69 73 74 2e 1b | 49 49 20 6d 47 65 74 57 |owList..|II mGetW|
|00001310| 69 6e 64 6f 77 54 61 73 | 6b 2c 20 77 69 6e 64 6f |indowTas|k, windo|
|00001320| 77 49 44 29 2d 2d 20 52 | 65 74 75 72 6e 73 20 74 |wID)-- R|eturns t|
|00001330| 68 65 20 74 61 73 6b 49 | 44 20 66 6f 72 20 61 20 |he taskI|D for a |
|00001340| 67 69 76 65 6e 20 77 69 | 6e 64 6f 77 2e 24 49 49 |given wi|ndow.$II|
|00001350| 49 20 6d 52 75 64 65 51 | 75 69 74 54 61 73 6b 2c |I mRudeQ|uitTask,|
|00001360| 20 74 61 73 6b 49 44 2c | 20 65 78 69 74 56 61 6c | taskID,| exitVal|
|00001370| 75 65 51 2d 2d 20 46 6f | 72 63 65 73 20 61 20 74 |ueQ-- Fo|rces a t|
|00001380| 61 73 6b 20 74 6f 20 71 | 75 69 74 2e 20 4f 6e 20 |ask to q|uit. On |
|00001390| 74 68 65 20 4d 61 63 2c | 20 65 78 69 74 56 61 6c |the Mac,| exitVal|
|000013a0| 75 65 20 69 73 20 69 67 | 6e 6f 72 65 64 2e 20 54 |ue is ig|nored. T|
|000013b0| 68 69 73 20 6d 65 74 68 | 6f 64 20 69 73 6e 27 74 |his meth|od isn't|
|000013c0| 20 61 6c 6c 4c 2d 2d 20 | 74 68 61 74 20 72 75 64 | allL-- |that rud|
|000013d0| 65 20 6f 6e 20 74 68 65 | 20 4d 61 63 2d 2d 20 69 |e on the| Mac-- i|
|000013e0| 74 20 73 65 6e 64 73 20 | 61 20 53 79 73 74 65 6d |t sends |a System|
|000013f0| 2d 37 20 73 74 61 6e 64 | 61 72 64 20 27 71 75 69 |-7 stand|ard 'qui|
|00001400| 74 27 20 41 70 70 6c 65 | 45 76 65 6e 74 20 28 6f |t' Apple|Event (o|
|00001410| 72 4e 2d 2d 20 73 69 6d | 75 6c 61 74 65 73 20 61 |rN-- sim|ulates a|
|00001420| 20 51 75 69 74 20 6d 65 | 6e 75 20 63 68 6f 69 63 | Quit me|nu choic|
|00001430| 65 2c 20 66 6f 72 20 70 | 72 65 2d 53 79 73 74 65 |e, for p|re-Syste|
|00001440| 6d 2d 37 20 73 6f 66 74 | 77 61 72 65 29 2e 20 4e |m-7 soft|ware). N|
|00001450| 6f 74 65 20 74 68 61 74 | 20 74 68 65 20 61 70 70 |ote that| the app|
|00001460| 4b 2d 2d 20 79 6f 75 27 | 72 65 20 74 72 79 69 6e |K-- you'|re tryin|
|00001470| 67 20 74 6f 20 71 75 69 | 74 20 6d 61 79 20 64 69 |g to qui|t may di|
|00001480| 73 70 6c 61 79 20 61 20 | 27 64 6f 6e 27 74 20 73 |splay a |'don't s|
|00001490| 61 76 65 27 2f 27 63 61 | 6e 63 65 6c 27 2f 27 73 |ave'/'ca|ncel'/'s|
|000014a0| 61 76 65 27 20 64 69 61 | 6c 6f 67 2e 4f 2d 2d 20 |ave' dia|log.O-- |
|000014b0| 4e 6f 74 65 20 74 68 61 | 74 20 41 70 70 6c 65 53 |Note tha|t AppleS|
|000014c0| 63 72 69 70 74 20 69 73 | 20 2a 6e 6f 74 2a 20 72 |cript is| *not* r|
|000014d0| 65 71 75 69 72 65 64 20 | 74 6f 20 62 65 20 69 6e |equired |to be in|
|000014e0| 73 74 61 6c 6c 65 64 20 | 74 6f 20 73 65 6e 64 20 |stalled |to send |
|000014f0| 41 70 70 6c 65 45 76 65 | 6e 74 73 2e 19 49 49 20 |AppleEve|nts..II |
|00001500| 6d 54 61 73 6b 49 73 52 | 75 6e 6e 69 6e 67 2c 20 |mTaskIsR|unning, |
|00001510| 74 61 73 6b 49 44 3b 2d | 2d 20 52 65 74 75 72 6e |taskID;-|- Return|
|00001520| 73 20 54 52 55 45 20 69 | 66 20 74 68 65 20 74 61 |s TRUE i|f the ta|
|00001530| 73 6b 20 69 73 20 73 74 | 69 6c 6c 20 72 75 6e 6e |sk is st|ill runn|
|00001540| 69 6e 67 2c 20 46 41 4c | 53 45 20 69 66 20 6e 6f |ing, FAL|SE if no|
|00001550| 74 2e 19 49 49 20 6d 46 | 65 65 64 54 69 6d 65 53 |t..II mF|eedTimeS|
|00001560| 6c 69 63 65 2c 20 74 61 | 73 6b 49 44 4c 2d 2d 20 |lice, ta|skIDL-- |
|00001570| 57 61 6b 65 73 20 74 68 | 65 20 74 61 73 6b 20 75 |Wakes th|e task u|
|00001580| 70 2c 20 61 6e 64 20 61 | 6c 6c 6f 77 73 20 6f 74 |p, and a|llows ot|
|00001590| 68 65 72 20 74 61 73 6b | 73 20 74 6f 20 72 75 6e |her task|s to run|
|000015a0| 2e 20 4f 6e 20 74 68 65 | 20 4d 61 63 2c 20 74 68 |. On the| Mac, th|
|000015b0| 69 73 20 6d 65 74 68 6f | 64 54 2d 2d 20 64 6f 65 |is metho|dT-- doe|
|000015c0| 73 20 6e 6f 74 20 6e 65 | 63 65 73 73 61 72 69 6c |s not ne|cessaril|
|000015d0| 79 20 69 6e 73 75 72 65 | 20 74 68 61 74 20 74 68 |y insure| that th|
|000015e0| 65 20 69 6e 64 69 63 61 | 74 65 64 20 74 61 73 6b |e indica|ted task|
|000015f0| 20 72 75 6e 73 20 6e 65 | 78 74 20 28 64 75 65 20 | runs ne|xt (due |
|00001600| 74 6f 20 64 69 66 66 65 | 72 65 6e 63 65 73 52 2d |to diffe|rencesR-|
|00001610| 2d 20 69 6e 20 65 76 65 | 6e 74 20 70 72 6f 63 65 |- in eve|nt proce|
|00001620| 73 73 69 6e 67 20 61 72 | 63 68 69 74 65 63 74 75 |ssing ar|chitectu|
|00001630| 72 65 29 2c 20 62 75 74 | 20 69 74 20 64 6f 65 73 |re), but| it does|
|00001640| 20 6d 61 6b 65 20 69 74 | 20 72 75 6e 20 61 73 20 | make it| run as |
|00001650| 73 6f 6f 6e 20 61 73 20 | 70 6f 73 73 69 62 6c 65 |soon as |possible|
|00001660| 2e 56 2d 2d 20 54 68 69 | 73 20 6d 65 74 68 6f 64 |.V-- Thi|s method|
|00001670| 20 6d 61 79 20 62 65 20 | 6e 65 63 65 73 73 61 72 | may be |necessar|
|00001680| 79 20 66 6f 72 20 61 70 | 70 73 20 74 6f 20 70 72 |y for ap|ps to pr|
|00001690| 6f 63 65 73 73 20 6d 65 | 73 73 61 67 65 73 2e 20 |ocess me|ssages. |
|000016a0| 45 73 70 65 63 69 61 6c | 6c 79 20 75 73 65 66 75 |Especial|ly usefu|
|000016b0| 6c 20 77 69 74 68 69 6e | 57 2d 2d 20 61 20 4c 69 |l within|W-- a Li|
|000016c0| 6e 67 6f 20 72 65 70 65 | 61 74 20 6c 6f 6f 70 2c |ngo repe|at loop,|
|000016d0| 20 77 68 69 63 68 20 6e | 6f 72 6d 61 6c 6c 79 20 | which n|ormally |
|000016e0| 6d 6f 6e 6f 70 6f 6c 69 | 7a 65 73 20 61 6c 6c 20 |monopoli|zes all |
|000016f0| 74 69 6d 65 73 6c 69 63 | 65 73 2e 20 52 65 74 75 |timeslic|es. Retu|
|00001700| 72 6e 73 20 65 72 72 6f | 72 20 63 6f 64 65 73 3a |rns erro|r codes:|
|00001710| 4b 2d 2d 20 2d 31 3a 20 | 69 6e 76 61 6c 69 64 20 |K-- -1: |invalid |
|00001720| 74 61 73 6b 49 44 3b 20 | 2d 32 3a 20 74 61 73 6b |taskID; |-2: task|
|00001730| 20 77 61 73 20 61 6c 72 | 65 61 64 79 20 72 75 6e | was alr|eady run|
|00001740| 6e 69 6e 67 20 28 44 69 | 72 65 63 74 6f 72 20 74 |ning (Di|rector t|
|00001750| 61 73 6b 20 69 74 73 65 | 6c 66 29 3b 4c 2d 2d 20 |ask itse|lf);L-- |
|00001760| 30 3a 20 6e 6f 20 65 72 | 72 6f 72 2e 20 50 6f 73 |0: no er|ror. Pos|
|00001770| 73 69 62 6c 65 20 73 69 | 64 65 20 65 66 66 65 63 |sible si|de effec|
|00001780| 74 3a 20 74 68 65 20 44 | 69 72 65 63 74 6f 72 20 |t: the D|irector |
|00001790| 74 61 73 6b 27 73 20 77 | 69 6e 64 6f 77 73 20 6d |task's w|indows m|
|000017a0| 61 79 20 6e 6f 74 20 62 | 65 51 2d 2d 20 70 72 6f |ay not b|eQ-- pro|
|000017b0| 70 65 72 6c 79 20 75 70 | 64 61 74 65 64 20 69 66 |perly up|dated if|
|000017c0| 20 74 68 69 73 20 6d 65 | 74 68 6f 64 20 69 73 20 | this me|thod is |
|000017d0| 75 73 65 64 20 77 69 74 | 68 69 6e 20 61 20 6c 6f |used wit|hin a lo|
|000017e0| 6e 67 20 72 65 70 65 61 | 74 20 6c 6f 6f 70 20 61 |ng repea|t loop a|
|000017f0| 6e 64 20 74 68 65 20 75 | 73 65 72 19 2d 2d 20 73 |nd the u|ser.-- s|
|00001800| 77 69 74 63 68 65 73 20 | 61 70 70 6c 69 63 61 74 |witches |applicat|
|00001810| 69 6f 6e 73 2e 17 58 20 | 6d 46 65 65 64 47 65 6e |ions..X |mFeedGen|
|00001820| 65 72 69 63 54 69 6d 65 | 53 6c 69 63 65 4d 2d 2d |ericTime|SliceM--|
|00001830| 20 47 69 76 65 73 20 75 | 70 20 70 72 6f 63 65 73 | Gives u|p proces|
|00001840| 73 6f 72 20 74 69 6d 65 | 20 66 6f 72 20 6f 74 68 |sor time| for oth|
|00001850| 65 72 20 74 61 73 6b 73 | 20 74 6f 20 72 75 6e 2e |er tasks| to run.|
|00001860| 20 55 73 65 66 75 6c 20 | 77 69 74 68 69 6e 20 4c | Useful |within L|
|00001870| 69 6e 67 6f 20 72 65 70 | 65 61 74 44 2d 2d 20 6c |ingo rep|eatD-- l|
|00001880| 6f 6f 70 73 2c 20 77 68 | 69 63 68 20 6e 6f 72 6d |oops, wh|ich norm|
|00001890| 61 6c 6c 79 20 6d 6f 6e | 6f 70 6f 6c 69 7a 65 20 |ally mon|opolize |
|000018a0| 61 6c 6c 20 74 69 6d 65 | 73 6c 69 63 65 73 2e 20 |all time|slices. |
|000018b0| 4e 6f 20 72 65 74 75 72 | 6e 20 76 61 6c 75 65 2e |No retur|n value.|
|000018c0| 3f 2d 2d 20 50 6f 73 73 | 69 62 6c 65 20 73 69 64 |?-- Poss|ible sid|
|000018d0| 65 20 65 66 66 65 63 74 | 3a 20 74 68 65 20 44 69 |e effect|: the Di|
|000018e0| 72 65 63 74 6f 72 20 74 | 61 73 6b 27 73 20 77 69 |rector t|ask's wi|
|000018f0| 6e 64 6f 77 73 20 6d 61 | 79 20 6e 6f 74 20 62 65 |ndows ma|y not be|
|00001900| 51 2d 2d 20 70 72 6f 70 | 65 72 6c 79 20 75 70 64 |Q-- prop|erly upd|
|00001910| 61 74 65 64 20 69 66 20 | 74 68 69 73 20 6d 65 74 |ated if |this met|
|00001920| 68 6f 64 20 69 73 20 75 | 73 65 64 20 77 69 74 68 |hod is u|sed with|
|00001930| 69 6e 20 61 20 6c 6f 6e | 67 20 72 65 70 65 61 74 |in a lon|g repeat|
|00001940| 20 6c 6f 6f 70 20 61 6e | 64 20 74 68 65 20 75 73 | loop an|d the us|
|00001950| 65 72 19 2d 2d 20 73 77 | 69 74 63 68 65 73 20 61 |er.-- sw|itches a|
|00001960| 70 70 6c 69 63 61 74 69 | 6f 6e 73 2e 0f 49 20 6d |pplicati|ons..I m|
|00001970| 44 69 72 65 63 74 6f 72 | 54 61 73 6b 2e 2d 2d 20 |Director|Task.-- |
|00001980| 52 65 74 75 72 6e 73 20 | 44 69 72 65 63 74 6f 72 |Returns |Director|
|00001990| 20 6f 72 20 74 68 65 20 | 70 72 6f 6a 65 63 74 6f | or the |projecto|
|000019a0| 72 27 73 20 74 61 73 6b | 49 44 2e 17 49 49 20 6d |r's task|ID..II m|
|000019b0| 54 61 73 6b 54 6f 46 72 | 6f 6e 74 2c 20 74 61 73 |TaskToFr|ont, tas|
|000019c0| 6b 49 44 49 2d 2d 20 4d | 6f 76 65 73 20 74 68 65 |kIDI-- M|oves the|
|000019d0| 20 74 61 73 6b 20 74 6f | 20 74 68 65 20 66 72 6f | task to| the fro|
|000019e0| 6e 74 2e 20 44 6f 65 73 | 20 6e 6f 74 20 65 78 69 |nt. Does| not exi|
|000019f0| 73 74 20 6f 6e 20 57 69 | 6e 64 6f 77 73 20 62 65 |st on Wi|ndows be|
|00001a00| 63 61 75 73 65 20 6f 66 | 20 73 6f 6d 65 4c 2d 2d |cause of| someL--|
|00001a10| 20 66 75 6e 64 61 6d 65 | 6e 74 61 6c 20 64 69 66 | fundame|ntal dif|
|00001a20| 66 65 72 65 6e 63 65 73 | 20 62 65 74 77 65 65 6e |ferences| between|
|00001a30| 20 4d 61 63 20 61 6e 64 | 20 57 69 6e 20 69 6e 20 | Mac and| Win in |
|00001a40| 74 68 65 20 77 61 79 20 | 74 61 73 6b 73 20 61 72 |the way |tasks ar|
|00001a50| 65 20 6d 61 6e 61 67 65 | 64 2e 0f 53 20 6d 47 65 |e manage|d..S mGe|
|00001a60| 74 54 61 73 6b 4f 72 64 | 65 72 52 2d 2d 20 52 65 |tTaskOrd|erR-- Re|
|00001a70| 74 75 72 6e 73 20 74 61 | 73 6b 49 44 73 20 6f 66 |turns ta|skIDs of|
|00001a80| 20 61 6c 6c 20 61 70 70 | 73 20 77 69 74 68 20 6d | all app|s with m|
|00001a90| 65 6e 75 73 2c 20 69 6e | 20 74 68 65 20 6f 72 64 |enus, in| the ord|
|00001aa0| 65 72 20 74 68 65 79 20 | 61 70 70 65 61 72 20 6f |er they |appear o|
|00001ab0| 6e 20 74 68 65 20 73 63 | 72 65 65 6e 2e 5a 2d 2d |n the sc|reen.Z--|
|00001ac0| 20 49 66 20 75 73 65 20 | 6f 66 20 74 68 65 20 4c | If use |of the L|
|00001ad0| 61 79 65 72 4d 61 6e 61 | 67 65 72 20 69 73 20 64 |ayerMana|ger is d|
|00001ae0| 69 73 61 62 6c 65 64 2c | 20 74 68 6f 75 67 68 2c |isabled,| though,|
|00001af0| 20 74 68 69 73 20 69 73 | 20 6a 75 73 74 20 61 20 | this is| just a |
|00001b00| 73 79 6e 6f 6e 79 6d 20 | 66 6f 72 20 6d 47 65 74 |synonym |for mGet|
|00001b10| 54 61 73 6b 49 44 73 2e | 57 2d 2d 20 54 68 69 73 |TaskIDs.|W-- This|
|00001b20| 20 4d 61 63 2d 6f 6e 6c | 79 20 6d 65 74 68 6f 64 | Mac-onl|y method|
|00001b30| 20 6c 65 74 73 20 79 6f | 75 20 64 65 74 65 72 6d | lets yo|u determ|
|00001b40| 69 6e 65 20 74 68 65 20 | 66 72 6f 6e 74 6d 6f 73 |ine the |frontmos|
|00001b50| 74 20 61 70 70 2c 20 65 | 76 65 6e 20 69 66 20 69 |t app, e|ven if i|
|00001b60| 74 27 73 20 6e 6f 74 20 | 73 68 6f 77 69 6e 67 2e |t's not |showing.|
|00001b70| 4f 2d 2d 20 61 6e 79 20 | 77 69 6e 64 6f 77 73 2e |O-- any |windows.|
|00001b80| 20 4f 6e 20 57 69 6e 64 | 6f 77 73 2c 20 79 6f 75 | On Wind|ows, you|
|00001b90| 20 63 61 6e 27 74 20 68 | 61 76 65 20 61 20 6d 65 | can't h|ave a me|
|00001ba0| 6e 75 20 62 61 72 20 77 | 69 74 68 6f 75 74 20 61 |nu bar w|ithout a|
|00001bb0| 6e 79 20 6f 70 65 6e 20 | 77 69 6e 64 6f 77 73 2e |ny open |windows.|
|00001bc0| 02 2d 2d 02 2d 2d 13 2d | 2d 20 4d 4f 44 55 4c 45 |.--.--.-|- MODULE|
|00001bd0| 20 46 55 4e 43 54 49 4f | 4e 53 13 2d 2d 20 2d 2d | FUNCTIO|NS.-- --|
|00001be0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 10 53 |--------|------.S|
|00001bf0| 20 6d 47 65 74 4d 6f 64 | 75 6c 65 4c 69 73 74 4b | mGetMod|uleListK|
|00001c00| 2d 2d 20 52 65 74 75 72 | 6e 73 20 61 20 73 74 72 |-- Retur|ns a str|
|00001c10| 69 6e 67 20 6f 66 20 61 | 6c 6c 20 63 75 72 72 65 |ing of a|ll curre|
|00001c20| 6e 74 6c 79 20 6c 6f 61 | 64 65 64 20 6d 6f 64 75 |ntly loa|ded modu|
|00001c30| 6c 65 73 2c 20 6f 6e 65 | 20 70 65 72 20 6c 69 6e |les, one| per lin|
|00001c40| 65 2c 20 77 69 74 68 20 | 74 68 65 3b 2d 2d 20 66 |e, with |the;-- f|
|00001c50| 6f 6c 6c 6f 77 69 6e 67 | 20 69 6e 66 6f 72 6d 61 |ollowing| informa|
|00001c60| 74 69 6f 6e 20 6f 6e 20 | 65 61 63 68 20 6c 69 6e |tion on |each lin|
|00001c70| 65 2c 20 73 65 70 61 72 | 61 74 65 64 20 62 79 20 |e, separ|ated by |
|00001c80| 63 6f 6d 6d 61 73 3a 29 | 2d 2d 20 20 20 6d 6f 64 |commas:)|-- mod|
|00001c90| 75 6c 65 4e 61 6d 65 2c | 20 6d 6f 64 75 6c 65 49 |uleName,| moduleI|
|00001ca0| 44 2c 20 6d 6f 64 75 6c | 65 46 69 6c 65 4e 61 6d |D, modul|eFileNam|
|00001cb0| 65 4f 2d 2d 20 4e 6f 74 | 65 3a 20 73 69 6e 63 65 |eO-- Not|e: since|
|00001cc0| 20 6d 6f 64 75 6c 65 4e | 61 6d 65 20 6f 72 20 6d | moduleN|ame or m|
|00001cd0| 6f 64 75 6c 65 46 69 6c | 65 4e 61 6d 65 20 6d 69 |oduleFil|eName mi|
|00001ce0| 67 68 74 20 63 6f 6e 74 | 61 69 6e 20 63 6f 6d 6d |ght cont|ain comm|
|00001cf0| 61 73 2c 20 6d 47 65 74 | 4d 6f 64 75 6c 65 49 44 |as, mGet|ModuleID|
|00001d00| 73 34 2d 2d 20 69 73 20 | 61 20 6d 6f 72 65 20 62 |s4-- is |a more b|
|00001d10| 75 6c 6c 65 74 70 72 6f | 6f 66 20 77 61 79 20 6f |ulletpro|of way o|
|00001d20| 66 20 6c 69 73 74 69 6e | 67 20 61 6c 6c 20 6d 6f |f listin|g all mo|
|00001d30| 64 75 6c 65 73 2e 0f 53 | 20 6d 47 65 74 4d 6f 64 |dules..S| mGetMod|
|00001d40| 75 6c 65 49 44 73 49 2d | 2d 20 52 65 74 75 72 6e |uleIDsI-|- Return|
|00001d50| 73 20 61 20 73 74 72 69 | 6e 67 20 6f 66 20 74 68 |s a stri|ng of th|
|00001d60| 65 20 6d 6f 64 75 6c 65 | 49 44 73 20 6f 66 20 61 |e module|IDs of a|
|00001d70| 6c 6c 20 72 75 6e 6e 69 | 6e 67 20 6d 6f 64 75 6c |ll runni|ng modul|
|00001d80| 65 73 2c 20 6f 6e 20 6f | 6e 65 20 6c 69 6e 65 2c |es, on o|ne line,|
|00001d90| 4b 2d 2d 20 73 65 70 61 | 72 61 74 65 64 20 62 79 |K-- sepa|rated by|
|00001da0| 20 73 70 61 63 65 73 2e | 20 55 73 65 20 27 77 6f | spaces.| Use 'wo|
|00001db0| 72 64 27 20 74 6f 20 77 | 61 6c 6b 20 74 68 72 6f |rd' to w|alk thro|
|00001dc0| 75 67 68 20 74 68 65 20 | 72 65 73 75 6c 74 73 2e |ugh the |results.|
|00001dd0| 20 4f 6e 20 74 68 65 20 | 4d 61 63 2c 25 2d 2d 20 | On the |Mac,%-- |
|00001de0| 74 68 69 73 20 69 73 20 | 61 20 73 79 6e 6f 6e 79 |this is |a synony|
|00001df0| 6d 20 66 6f 72 20 6d 47 | 65 74 54 61 73 6b 49 44 |m for mG|etTaskID|
|00001e00| 73 2e 18 49 49 20 6d 4d | 6f 64 75 6c 65 54 61 73 |s..II mM|oduleTas|
|00001e10| 6b 2c 20 6d 6f 64 75 6c | 65 49 44 4f 2d 2d 20 52 |k, modul|eIDO-- R|
|00001e20| 65 74 75 72 6e 73 20 74 | 61 73 6b 69 64 49 44 20 |eturns t|askidID |
|00001e30| 6f 66 20 74 68 65 20 67 | 69 76 65 6e 20 6d 6f 64 |of the g|iven mod|
|00001e40| 75 6c 65 49 44 20 28 61 | 6c 77 61 79 73 20 74 68 |uleID (a|lways th|
|00001e50| 65 20 73 61 6d 65 20 6e | 75 6d 62 65 72 2c 20 6f |e same n|umber, o|
|00001e60| 6e 20 74 68 65 20 4d 61 | 63 29 2e 1c 53 49 20 6d |n the Ma|c)..SI m|
|00001e70| 4d 6f 64 75 6c 65 46 69 | 6c 65 4e 61 6d 65 2c 20 |ModuleFi|leName, |
|00001e80| 6d 6f 64 75 6c 65 49 44 | 4b 2d 2d 20 47 65 74 20 |moduleID|K-- Get |
|00001e90| 66 75 6c 6c 20 70 61 74 | 68 20 74 6f 20 61 20 74 |full pat|h to a t|
|00001ea0| 61 73 6b 27 73 20 61 70 | 70 6c 69 63 61 74 69 6f |ask's ap|plicatio|
|00001eb0| 6e 20 66 69 6c 65 2e 20 | 43 61 6e 20 75 73 65 20 |n file. |Can use |
|00001ec0| 61 20 74 61 73 6b 49 44 | 20 6f 6e 20 74 68 65 20 |a taskID| on the |
|00001ed0| 4d 61 63 2e 13 53 20 6d | 44 69 72 65 63 74 6f 72 |Mac..S m|Director|
|00001ee0| 46 69 6c 65 4e 61 6d 65 | 2f 2d 2d 20 52 65 74 75 |FileName|/-- Retu|
|00001ef0| 72 6e 73 20 74 68 65 20 | 66 69 6c 65 6e 61 6d 65 |rns the |filename|
|00001f00| 20 6f 66 20 74 68 65 20 | 44 69 72 65 63 74 6f 72 | of the |Director|
|00001f10| 20 6d 6f 64 75 6c 65 2e | 18 53 49 20 6d 4d 6f 64 | module.|.SI mMod|
|00001f20| 75 6c 65 4e 61 6d 65 2c | 20 6d 6f 64 75 6c 65 49 |uleName,| moduleI|
|00001f30| 44 52 2d 2d 20 47 65 74 | 20 6d 6f 64 75 6c 65 20 |DR-- Get| module |
|00001f40| 6e 61 6d 65 2e 20 4f 6e | 20 74 68 65 20 4d 61 63 |name. On| the Mac|
|00001f50| 2c 20 74 68 69 73 20 69 | 73 20 74 68 65 20 61 70 |, this i|s the ap|
|00001f60| 70 27 73 20 63 72 65 61 | 74 6f 72 20 61 6e 64 20 |p's crea|tor and |
|00001f70| 66 69 6c 65 74 79 70 65 | 20 73 69 67 6e 61 74 75 |filetype| signatu|
|00001f80| 72 65 73 2c 42 2d 2d 20 | 72 65 74 75 72 6e 65 64 |res,B-- |returned|
|00001f90| 20 61 73 20 61 6e 20 38 | 2d 63 68 61 72 61 63 74 | as an 8|-charact|
|00001fa0| 65 72 20 73 74 72 69 6e | 67 2e 20 43 61 6e 20 75 |er strin|g. Can u|
|00001fb0| 73 65 20 61 20 74 61 73 | 6b 49 44 20 6f 6e 20 74 |se a tas|kID on t|
|00001fc0| 68 65 20 4d 61 63 2e 1d | 49 49 20 6d 4d 6f 64 75 |he Mac..|II mModu|
|00001fd0| 6c 65 49 73 52 75 6e 6e | 69 6e 67 2c 20 6d 6f 64 |leIsRunn|ing, mod|
|00001fe0| 75 6c 65 49 44 51 2d 2d | 20 52 65 74 75 72 6e 73 |uleIDQ--| Returns|
|00001ff0| 20 54 52 55 45 20 69 66 | 20 74 68 65 20 6d 6f 64 | TRUE if| the mod|
|00002000| 75 6c 65 20 69 73 20 73 | 74 69 6c 6c 20 72 75 6e |ule is s|till run|
|00002010| 6e 69 6e 67 2c 20 66 61 | 6c 73 65 20 69 66 20 6e |ning, fa|lse if n|
|00002020| 6f 74 2e 20 4f 6e 20 74 | 68 65 20 4d 61 63 2c 20 |ot. On t|he Mac, |
|00002030| 74 68 69 73 20 69 73 20 | 2d 2d 20 61 20 73 79 6e |this is |-- a syn|
|00002040| 6f 6e 79 6d 20 66 6f 72 | 20 6d 54 61 73 6b 49 73 |onym for| mTaskIs|
|00002050| 52 75 6e 6e 69 6e 67 2e | 25 49 49 53 20 6d 55 6e |Running.|%IIS mUn|
|00002060| 6c 6f 61 64 4d 6f 64 75 | 6c 65 2c 20 6d 6f 64 75 |loadModu|le, modu|
|00002070| 6c 65 49 44 2c 20 61 70 | 70 4f 72 44 6c 6c 4f 2d |leID, ap|pOrDllO-|
|00002080| 2d 20 46 6f 72 63 65 20 | 61 20 6d 6f 64 75 6c 65 |- Force |a module|
|00002090| 20 74 6f 20 71 75 69 74 | 2e 20 55 73 65 73 20 74 | to quit|. Uses t|
|000020a0| 68 65 20 73 61 6d 65 20 | 61 70 70 72 6f 61 63 68 |he same |approach|
|000020b0| 20 61 73 20 6d 52 75 64 | 65 51 75 69 74 54 61 73 | as mRud|eQuitTas|
|000020c0| 6b 2c 20 62 75 74 20 6d | 61 74 63 68 65 73 47 2d |k, but m|atchesG-|
|000020d0| 2d 20 74 68 65 20 73 79 | 6e 74 61 78 20 6f 66 20 |- the sy|ntax of |
|000020e0| 74 68 65 20 57 69 6e 64 | 6f 77 73 20 6d 65 74 68 |the Wind|ows meth|
|000020f0| 6f 64 2e 20 61 70 70 4f | 72 44 6c 6c 20 69 73 20 |od. appO|rDll is |
|00002100| 69 72 72 65 6c 65 76 61 | 6e 74 20 6f 6e 20 74 68 |irreleva|nt on th|
|00002110| 65 20 4d 61 63 2e 11 49 | 20 6d 44 69 72 65 63 74 |e Mac..I| mDirect|
|00002120| 6f 72 4d 6f 64 75 6c 65 | 4b 2d 2d 20 52 65 74 75 |orModule|K-- Retu|
|00002130| 72 6e 73 20 74 68 65 20 | 6d 6f 64 75 6c 65 49 44 |rns the |moduleID|
|00002140| 20 6f 66 20 74 68 65 20 | 44 69 72 65 63 74 6f 72 | of the |Director|
|00002150| 20 74 61 73 6b 2e 20 4f | 6e 20 74 68 65 20 4d 61 | task. O|n the Ma|
|00002160| 63 2c 20 74 68 69 73 20 | 69 73 20 61 20 73 79 6e |c, this |is a syn|
|00002170| 6f 6e 79 6d 15 2d 2d 20 | 66 6f 72 20 6d 44 69 72 |onym.-- |for mDir|
|00002180| 65 63 74 6f 72 54 61 73 | 6b 2e 02 2d 2d 02 2d 2d |ectorTas|k..--.--|
|00002190| 13 2d 2d 20 57 49 4e 44 | 4f 57 20 46 55 4e 43 54 |.-- WIND|OW FUNCT|
|000021a0| 49 4f 4e 53 13 2d 2d 20 | 2d 2d 2d 2d 2d 2d 2d 2d |IONS.-- |--------|
|000021b0| 2d 2d 2d 2d 2d 2d 2d 2d | 02 2d 2d 16 53 20 6d 47 |--------|.--.S mG|
|000021c0| 65 74 50 61 72 65 6e 74 | 57 69 6e 64 6f 77 4c 69 |etParent|WindowLi|
|000021d0| 73 74 4d 2d 2d 20 52 65 | 74 75 72 6e 73 20 61 20 |stM-- Re|turns a |
|000021e0| 73 74 72 69 6e 67 20 6f | 66 20 61 6c 6c 20 74 6f |string o|f all to|
|000021f0| 70 2d 6c 65 76 65 6c 20 | 77 69 6e 64 6f 77 73 20 |p-level |windows |
|00002200| 6f 77 6e 65 64 20 62 79 | 20 61 6c 6c 20 74 61 73 |owned by| all tas|
|00002210| 6b 73 2c 20 6f 6e 65 20 | 70 65 72 20 6c 69 6e 65 |ks, one |per line|
|00002220| 2f 2d 2d 20 77 69 74 68 | 20 74 68 65 20 66 6f 6c |/-- with| the fol|
|00002230| 6c 6f 77 69 6e 67 20 69 | 6e 66 6f 20 73 65 70 61 |lowing i|nfo sepa|
|00002240| 72 61 74 65 64 20 62 79 | 20 63 6f 6d 6d 61 73 3a |rated by| commas:|
|00002250| 42 2d 2d 20 20 20 77 69 | 6e 64 6f 77 4e 61 6d 65 |B-- wi|ndowName|
|00002260| 2c 20 77 69 6e 64 6f 77 | 49 44 2c 20 70 61 72 65 |, window|ID, pare|
|00002270| 6e 74 57 69 6e 64 6f 77 | 49 44 2c 20 68 61 73 43 |ntWindow|ID, hasC|
|00002280| 68 69 6c 64 72 65 6e 2c | 20 77 69 6e 64 6f 77 54 |hildren,| windowT|
|00002290| 79 70 65 50 2d 2d 20 54 | 6f 70 2d 6c 65 76 65 6c |ypeP-- T|op-level|
|000022a0| 20 77 69 6e 64 6f 77 73 | 20 61 6c 77 61 79 73 20 | windows| always |
|000022b0| 68 61 76 65 20 70 61 72 | 65 6e 74 49 44 20 30 2c |have par|entID 0,|
|000022c0| 20 62 75 74 20 74 68 65 | 20 64 61 74 61 20 66 6f | but the| data fo|
|000022d0| 72 6d 61 74 20 72 65 74 | 75 72 6e 65 64 20 69 73 |rmat ret|urned is|
|000022e0| 20 74 68 65 4e 2d 2d 20 | 73 61 6d 65 20 64 61 74 | theN-- |same dat|
|000022f0| 61 20 66 6f 72 6d 61 74 | 20 72 65 74 75 72 6e 65 |a format| returne|
|00002300| 64 20 62 79 20 6d 47 65 | 74 43 68 69 6c 64 57 69 |d by mGe|tChildWi|
|00002310| 6e 64 6f 77 4c 69 73 74 | 2e 20 42 65 63 61 75 73 |ndowList|. Becaus|
|00002320| 65 20 77 69 6e 64 6f 77 | 4e 61 6d 65 73 20 6d 69 |e window|Names mi|
|00002330| 67 68 74 41 2d 2d 20 63 | 6f 6e 74 61 69 6e 20 63 |ghtA-- c|ontain c|
|00002340| 6f 6d 6d 61 73 2c 20 75 | 73 69 6e 67 20 6d 47 65 |ommas, u|sing mGe|
|00002350| 74 50 61 72 65 6e 74 57 | 69 6e 64 6f 77 49 44 73 |tParentW|indowIDs|
|00002360| 20 69 73 20 6d 6f 72 65 | 20 62 75 6c 6c 65 74 70 | is more| bulletp|
|00002370| 72 6f 6f 66 2e 15 53 20 | 6d 47 65 74 50 61 72 65 |roof..S |mGetPare|
|00002380| 6e 74 57 69 6e 64 6f 77 | 49 44 73 4b 2d 2d 20 52 |ntWindow|IDsK-- R|
|00002390| 65 74 75 72 6e 73 20 61 | 20 73 74 72 69 6e 67 20 |eturns a| string |
|000023a0| 6f 66 20 74 68 65 20 77 | 69 6e 64 6f 77 49 44 73 |of the w|indowIDs|
|000023b0| 20 6f 66 20 61 6c 6c 20 | 74 6f 70 2d 6c 65 76 65 | of all |top-leve|
|000023c0| 6c 20 77 69 6e 64 6f 77 | 73 2c 20 6f 6e 20 6f 6e |l window|s, on on|
|000023d0| 65 20 6c 69 6e 65 2c 3f | 2d 2d 20 73 65 70 61 72 |e line,?|-- separ|
|000023e0| 61 74 65 64 20 62 79 20 | 73 70 61 63 65 73 2e 20 |ated by |spaces. |
|000023f0| 55 73 65 20 27 77 6f 72 | 64 27 20 74 6f 20 77 61 |Use 'wor|d' to wa|
|00002400| 6c 6b 20 74 68 72 6f 75 | 67 68 20 74 68 65 20 72 |lk throu|gh the r|
|00002410| 65 73 75 6c 74 73 2e 20 | 53 49 20 6d 47 65 74 43 |esults. |SI mGetC|
|00002420| 68 69 6c 64 57 69 6e 64 | 6f 77 4c 69 73 74 2c 20 |hildWind|owList, |
|00002430| 77 69 6e 64 6f 77 49 44 | 48 2d 2d 20 52 65 74 75 |windowID|H-- Retu|
|00002440| 72 6e 73 20 61 20 73 74 | 72 69 6e 67 20 6f 66 20 |rns a st|ring of |
|00002450| 61 6c 6c 20 63 68 69 6c | 64 20 77 69 6e 64 6f 77 |all chil|d window|
|00002460| 73 20 6f 77 6e 65 64 20 | 62 79 20 74 68 65 20 77 |s owned |by the w|
|00002470| 69 6e 64 6f 77 2c 20 6f | 6e 65 20 77 69 6e 64 6f |indow, o|ne windo|
|00002480| 77 4c 2d 2d 20 70 65 72 | 20 6c 69 6e 65 2c 20 77 |wL-- per| line, w|
|00002490| 69 74 68 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ith the |followin|
|000024a0| 67 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 73 65 |g inform|ation se|
|000024b0| 70 61 72 74 65 64 20 62 | 79 20 63 6f 6d 6d 61 73 |parted b|y commas|
|000024c0| 20 6f 6e 20 65 61 63 68 | 20 6c 69 6e 65 3a 42 2d | on each| line:B-|
|000024d0| 2d 20 20 20 77 69 6e 64 | 6f 77 4e 61 6d 65 2c 20 |- wind|owName, |
|000024e0| 77 69 6e 64 6f 77 49 44 | 2c 20 70 61 72 65 6e 74 |windowID|, parent|
|000024f0| 57 69 6e 64 6f 77 49 44 | 2c 20 68 61 73 43 68 69 |WindowID|, hasChi|
|00002500| 6c 64 72 65 6e 2c 20 77 | 69 6e 64 6f 77 54 79 70 |ldren, w|indowTyp|
|00002510| 65 46 2d 2d 20 53 69 6e | 63 65 20 77 69 6e 64 6f |eF-- Sin|ce windo|
|00002520| 77 4e 61 6d 65 20 6d 69 | 67 68 74 20 63 6f 6e 74 |wName mi|ght cont|
|00002530| 61 69 6e 20 63 6f 6d 6d | 61 73 2c 20 6d 47 65 74 |ain comm|as, mGet|
|00002540| 43 68 69 6c 64 57 69 6e | 64 6f 77 49 44 73 20 69 |ChildWin|dowIDs i|
|00002550| 73 20 61 20 6d 6f 72 65 | 30 2d 2d 20 62 75 6c 6c |s a more|0-- bull|
|00002560| 65 74 70 72 6f 6f 66 20 | 77 61 79 20 6f 66 20 6c |etproof |way of l|
|00002570| 69 73 74 69 6e 67 20 61 | 6c 6c 20 63 68 69 6c 64 |isting a|ll child|
|00002580| 20 77 69 6e 64 6f 77 73 | 2e 1f 53 49 20 6d 47 65 | windows|..SI mGe|
|00002590| 74 43 68 69 6c 64 57 69 | 6e 64 6f 77 49 44 73 2c |tChildWi|ndowIDs,|
|000025a0| 20 77 69 6e 64 6f 77 49 | 44 4a 2d 2d 20 52 65 74 | windowI|DJ-- Ret|
|000025b0| 75 72 6e 73 20 61 20 73 | 74 72 69 6e 67 20 6f 66 |urns a s|tring of|
|000025c0| 20 61 6c 6c 20 63 68 69 | 6c 64 20 77 69 6e 64 6f | all chi|ld windo|
|000025d0| 77 73 20 6f 77 6e 65 64 | 20 62 79 20 74 68 65 20 |ws owned| by the |
|000025e0| 77 69 6e 64 6f 77 2c 20 | 6f 6e 20 6f 6e 65 20 6c |window, |on one l|
|000025f0| 69 6e 65 2c 3e 2d 2d 20 | 73 65 70 61 72 61 74 65 |ine,>-- |separate|
|00002600| 64 20 62 79 20 73 70 61 | 63 65 73 2e 20 55 73 65 |d by spa|ces. Use|
|00002610| 20 27 77 6f 72 64 27 20 | 74 6f 20 77 61 6c 6b 20 | 'word' |to walk |
|00002620| 74 68 6f 75 67 68 20 74 | 68 65 20 72 65 73 75 6c |though t|he resul|
|00002630| 74 73 2e 1a 49 49 20 6d | 57 69 6e 64 6f 77 50 61 |ts..II m|WindowPa|
|00002640| 72 65 6e 74 2c 20 77 69 | 6e 64 6f 77 49 44 4a 2d |rent, wi|ndowIDJ-|
|00002650| 2d 20 52 65 74 75 72 6e | 73 20 74 68 65 20 77 69 |- Return|s the wi|
|00002660| 6e 64 6f 77 49 44 20 6f | 66 20 74 68 65 20 70 61 |ndowID o|f the pa|
|00002670| 72 65 6e 74 20 6f 66 20 | 74 68 65 20 73 75 70 70 |rent of |the supp|
|00002680| 6c 69 65 64 20 77 69 6e | 64 6f 77 20 28 30 20 69 |lied win|dow (0 i|
|00002690| 66 20 69 74 27 73 20 61 | 2e 43 2d 2d 20 74 6f 70 |f it's a|.C-- top|
|000026a0| 2d 6c 65 76 65 6c 20 77 | 69 6e 64 6f 77 2c 20 6f |-level w|indow, o|
|000026b0| 72 20 2d 31 20 69 66 20 | 74 68 65 20 73 75 70 70 |r -1 if |the supp|
|000026c0| 6c 69 65 64 20 77 69 6e | 64 6f 77 49 44 20 63 61 |lied win|dowID ca|
|000026d0| 6e 27 74 20 62 65 20 66 | 6f 75 6e 64 2e 1d 49 49 |n't be f|ound..II|
|000026e0| 20 6d 47 65 74 57 69 6e | 64 6f 77 50 61 72 65 6e | mGetWin|dowParen|
|000026f0| 74 2c 20 77 69 6e 64 6f | 77 49 44 46 2d 2d 20 53 |t, windo|wIDF-- S|
|00002700| 79 6e 6f 6e 79 6d 20 66 | 6f 72 20 6d 57 69 6e 64 |ynonym f|or mWind|
|00002710| 6f 77 50 61 72 65 6e 74 | 2c 20 66 6f 72 20 63 6f |owParent|, for co|
|00002720| 6d 70 61 74 69 62 69 6c | 69 74 79 20 77 69 74 68 |mpatibil|ity with|
|00002730| 20 65 61 72 6c 69 65 72 | 20 72 65 6c 65 61 73 65 | earlier| release|
|00002740| 73 2e 24 49 49 20 6d 47 | 65 74 48 69 67 68 65 73 |s.$II mG|etHighes|
|00002750| 74 57 69 6e 64 6f 77 50 | 61 72 65 6e 74 2c 20 77 |tWindowP|arent, w|
|00002760| 69 6e 64 6f 77 49 44 47 | 2d 2d 20 52 65 74 75 72 |indowIDG|-- Retur|
|00002770| 6e 73 20 74 68 65 20 77 | 69 6e 64 6f 77 49 44 20 |ns the w|indowID |
|00002780| 6f 66 20 74 68 65 20 74 | 6f 70 20 6c 65 76 65 6c |of the t|op level|
|00002790| 20 70 61 72 65 6e 74 2c | 20 63 6c 69 6d 62 69 6e | parent,| climbin|
|000027a0| 67 20 74 68 65 20 68 65 | 69 72 61 72 63 68 79 4f |g the he|irarchyO|
|000027b0| 2d 2d 20 6f 66 20 77 69 | 6e 64 6f 77 20 6f 77 6e |-- of wi|ndow own|
|000027c0| 65 72 73 68 69 70 20 61 | 73 20 66 61 72 20 62 61 |ership a|s far ba|
|000027d0| 63 6b 77 61 72 64 73 20 | 61 73 20 70 6f 73 73 69 |ckwards |as possi|
|000027e0| 62 6c 65 2e 20 52 65 74 | 75 72 6e 73 20 2d 31 20 |ble. Ret|urns -1 |
|000027f0| 69 66 20 74 68 65 20 73 | 75 70 70 6c 69 65 64 50 |if the s|uppliedP|
|00002800| 2d 2d 20 77 69 6e 64 6f | 77 49 44 20 63 61 6e 27 |-- windo|wID can'|
|00002810| 74 20 62 65 20 66 6f 75 | 6e 64 3b 20 72 65 74 75 |t be fou|nd; retu|
|00002820| 72 6e 73 20 74 68 65 20 | 73 75 70 70 6c 69 65 64 |rns the |supplied|
|00002830| 20 77 69 6e 64 6f 77 49 | 44 20 66 6f 72 20 74 6f | windowI|D for to|
|00002840| 70 2d 6c 65 76 65 6c 20 | 77 69 6e 64 6f 77 73 2e |p-level |windows.|
|00002850| 15 49 20 6d 44 69 72 65 | 63 74 6f 72 4d 61 69 6e |.I mDire|ctorMain|
|00002860| 57 69 6e 64 6f 77 4e 2d | 2d 20 52 65 74 75 72 6e |WindowN-|- Return|
|00002870| 73 20 74 68 65 20 6d 61 | 69 6e 20 77 69 6e 64 6f |s the ma|in windo|
|00002880| 77 49 44 20 6f 66 20 44 | 69 72 65 63 74 6f 72 20 |wID of D|irector |
|00002890| 6f 72 20 74 68 65 20 70 | 72 6f 6a 65 63 74 6f 72 |or the p|rojector|
|000028a0| 2e 20 4f 6e 20 74 68 65 | 20 4d 61 63 2c 20 74 68 |. On the| Mac, th|
|000028b0| 69 73 20 69 73 4b 2d 2d | 20 74 68 65 20 73 61 6d |is isK--| the sam|
|000028c0| 65 20 77 69 6e 64 6f 77 | 20 61 73 20 74 68 65 20 |e window| as the |
|000028d0| 73 74 61 67 65 20 69 74 | 73 65 6c 66 2e 20 53 65 |stage it|self. Se|
|000028e0| 65 20 6e 6f 74 65 73 20 | 66 6f 72 20 6d 44 69 72 |e notes |for mDir|
|000028f0| 65 63 74 6f 72 53 74 61 | 67 65 57 69 6e 64 6f 77 |ectorSta|geWindow|
|00002900| 2e 16 49 20 6d 44 69 72 | 65 63 74 6f 72 53 74 61 |..I mDir|ectorSta|
|00002910| 67 65 57 69 6e 64 6f 77 | 4e 2d 2d 20 52 65 74 75 |geWindow|N-- Retu|
|00002920| 72 6e 73 20 74 68 65 20 | 77 69 6e 64 6f 77 49 44 |rns the |windowID|
|00002930| 20 6f 66 20 74 68 65 20 | 44 69 72 65 63 74 6f 72 | of the |Director|
|00002940| 20 6f 72 20 70 72 6f 6a | 65 63 74 6f 72 20 73 74 | or proj|ector st|
|00002950| 61 67 65 2e 20 4f 6e 20 | 74 68 65 20 4d 61 63 2c |age. On |the Mac,|
|00002960| 74 68 69 73 20 69 73 4d | 2d 2d 20 74 68 65 20 73 |this isM|-- the s|
|00002970| 61 6d 65 20 77 69 6e 64 | 6f 77 20 61 73 20 74 68 |ame wind|ow as th|
|00002980| 65 20 6f 6e 65 20 72 65 | 74 75 72 6e 65 64 20 62 |e one re|turned b|
|00002990| 79 20 6d 44 69 72 65 63 | 74 6f 72 4d 61 69 6e 57 |y mDirec|torMainW|
|000029a0| 69 6e 64 6f 77 2e 20 4e | 6f 74 65 20 74 68 61 74 |indow. N|ote that|
|000029b0| 20 74 68 69 73 4b 2d 2d | 20 77 69 6e 64 6f 77 49 | thisK--| windowI|
|000029c0| 44 20 63 61 6e 20 63 68 | 61 6e 67 65 20 69 66 20 |D can ch|ange if |
|000029d0| 74 68 65 20 6d 6f 6e 69 | 74 6f 72 20 63 6f 6c 6f |the moni|tor colo|
|000029e0| 72 20 64 65 70 74 68 20 | 6f 72 20 73 69 7a 65 20 |r depth |or size |
|000029f0| 69 73 20 63 68 61 6e 67 | 65 64 20 6c 61 74 65 72 |is chang|ed later|
|00002a00| 2e 48 2d 2d 20 59 6f 75 | 20 63 61 6e 20 64 65 74 |.H-- You| can det|
|00002a10| 65 63 74 20 74 68 69 73 | 20 77 69 74 68 20 6d 57 |ect this| with mW|
|00002a20| 69 6e 64 6f 77 45 78 69 | 73 74 73 2c 20 61 6e 64 |indowExi|sts, and|
|00002a30| 20 79 6f 75 20 63 61 6e | 20 67 65 74 20 74 68 65 | you can| get the|
|00002a40| 20 6e 65 77 20 73 74 61 | 67 65 4d 2d 2d 20 77 69 | new sta|geM-- wi|
|00002a50| 6e 64 6f 77 20 62 79 20 | 63 72 65 61 74 69 6e 67 |ndow by |creating|
|00002a60| 20 61 20 6e 65 77 20 4d | 61 73 74 65 72 41 70 70 | a new M|asterApp|
|00002a70| 20 69 6e 73 74 61 6e 63 | 65 20 61 6e 64 20 75 73 | instanc|e and us|
|00002a80| 69 6e 67 20 6d 44 69 72 | 65 63 74 6f 72 53 74 61 |ing mDir|ectorSta|
|00002a90| 67 65 57 69 6e 64 6f 77 | 4a 2d 2d 20 77 69 74 68 |geWindow|J-- with|
|00002aa0| 20 74 68 61 74 20 69 6e | 73 74 61 6e 63 65 2e 20 | that in|stance. |
|00002ab0| 4e 6f 74 65 20 74 68 61 | 74 20 74 61 73 6b 49 44 |Note tha|t taskID|
|00002ac0| 73 2c 20 6d 6f 64 75 6c | 65 49 44 73 20 61 6e 64 |s, modul|eIDs and|
|00002ad0| 20 69 6e 73 74 61 6e 63 | 65 49 44 73 20 63 61 6e | instanc|eIDs can|
|00002ae0| 20 62 65 49 2d 2d 20 64 | 69 66 66 65 72 65 6e 74 | beI-- d|ifferent|
|00002af0| 20 69 6e 20 61 20 6e 65 | 77 20 4d 61 73 74 65 72 | in a ne|w Master|
|00002b00| 41 70 70 20 6f 62 6a 65 | 63 74 2d 2d 20 74 68 65 |App obje|ct-- the|
|00002b10| 73 65 20 49 44 73 20 61 | 72 65 20 75 6e 69 71 75 |se IDs a|re uniqu|
|00002b20| 65 20 70 65 72 2d 6f 62 | 6a 65 63 74 2e 18 53 49 |e per-ob|ject..SI|
|00002b30| 20 6d 57 69 6e 64 6f 77 | 4e 61 6d 65 2c 20 77 69 | mWindow|Name, wi|
|00002b40| 6e 64 6f 77 49 44 34 2d | 2d 20 52 65 74 75 72 6e |ndowID4-|- Return|
|00002b50| 73 20 74 68 65 20 77 69 | 6e 64 6f 77 20 6e 61 6d |s the wi|ndow nam|
|00002b60| 65 20 6f 66 20 74 68 65 | 20 73 75 70 70 6c 69 65 |e of the| supplie|
|00002b70| 64 20 77 69 6e 64 6f 77 | 49 44 2e 1b 53 49 20 6d |d window|ID..SI m|
|00002b80| 47 65 74 57 69 6e 64 6f | 77 4e 61 6d 65 2c 20 77 |GetWindo|wName, w|
|00002b90| 69 6e 64 6f 77 49 44 44 | 2d 2d 20 53 79 6e 6f 6e |indowIDD|-- Synon|
|00002ba0| 79 6d 20 66 6f 72 20 6d | 57 69 6e 64 6f 77 4e 61 |ym for m|WindowNa|
|00002bb0| 6d 65 2c 20 66 6f 72 20 | 63 6f 6d 70 61 74 69 62 |me, for |compatib|
|00002bc0| 69 6c 69 74 79 20 77 69 | 74 68 20 65 61 72 6c 69 |ility wi|th earli|
|00002bd0| 65 72 20 72 65 6c 65 61 | 73 65 73 2e 25 49 49 53 |er relea|ses.%IIS|
|00002be0| 20 6d 53 65 74 57 69 6e | 64 6f 77 4e 61 6d 65 2c | mSetWin|dowName,|
|00002bf0| 20 77 69 6e 64 6f 77 49 | 44 2c 20 6e 65 77 54 65 | windowI|D, newTe|
|00002c00| 78 74 4f 2d 2d 20 53 65 | 74 73 20 74 68 65 20 77 |xtO-- Se|ts the w|
|00002c10| 69 6e 64 6f 77 27 73 20 | 6e 61 6d 65 2e 20 4e 6f |indow's |name. No|
|00002c20| 74 65 3a 20 74 68 69 73 | 20 6d 61 79 20 68 61 76 |te: this| may hav|
|00002c30| 65 20 73 69 64 65 20 65 | 66 66 65 63 74 73 20 69 |e side e|ffects i|
|00002c40| 66 20 74 68 65 20 61 70 | 70 20 64 6f 65 73 20 6e |f the ap|p does n|
|00002c50| 6f 74 54 2d 2d 20 65 78 | 70 65 63 74 20 74 68 65 |otT-- ex|pect the|
|00002c60| 20 77 69 6e 64 6f 77 27 | 73 20 6e 61 6d 65 20 74 | window'|s name t|
|00002c70| 6f 20 63 68 61 6e 67 65 | 2e 20 54 65 73 74 69 6e |o change|. Testin|
|00002c80| 67 20 69 73 20 72 65 71 | 75 69 72 65 64 21 20 52 |g is req|uired! R|
|00002c90| 65 74 75 72 6e 73 20 30 | 20 69 66 20 73 75 63 63 |eturns 0| if succ|
|00002ca0| 65 73 73 66 75 6c 2c 47 | 2d 2d 20 6f 72 20 6e 6f |essful,G|-- or no|
|00002cb0| 6e 2d 7a 65 72 6f 20 69 | 66 20 61 6e 20 65 72 72 |n-zero i|f an err|
|00002cc0| 6f 72 20 6f 63 63 75 72 | 73 20 28 74 79 70 69 63 |or occur|s (typic|
|00002cd0| 61 6c 6c 79 2c 20 61 20 | 62 61 64 20 77 69 6e 64 |ally, a |bad wind|
|00002ce0| 6f 77 49 44 20 73 75 70 | 70 6c 69 65 64 29 2e 1f |owID sup|plied)..|
|00002cf0| 49 49 20 6d 57 69 6e 64 | 6f 77 48 61 73 43 68 69 |II mWind|owHasChi|
|00002d00| 6c 64 72 65 6e 2c 20 77 | 69 6e 64 6f 77 49 44 3e |ldren, w|indowID>|
|00002d10| 2d 2d 20 52 65 74 75 72 | 6e 73 20 54 52 55 45 20 |-- Retur|ns TRUE |
|00002d20| 69 66 20 74 68 65 20 77 | 69 6e 64 6f 77 20 68 61 |if the w|indow ha|
|00002d30| 73 20 63 68 69 6c 64 20 | 77 69 6e 64 6f 77 73 2c |s child |windows,|
|00002d40| 20 66 61 6c 73 65 20 69 | 66 20 6e 6f 74 2e 18 53 | false i|f not..S|
|00002d50| 49 20 6d 57 69 6e 64 6f | 77 54 79 70 65 2c 20 77 |I mWindo|wType, w|
|00002d60| 69 6e 64 6f 77 49 44 55 | 2d 2d 20 52 65 74 75 72 |indowIDU|-- Retur|
|00002d70| 6e 73 20 74 68 65 20 74 | 79 70 65 20 6f 66 20 77 |ns the t|ype of w|
|00002d80| 69 6e 64 6f 77 2e 20 4f | 6e 20 74 68 65 20 4d 61 |indow. O|n the Ma|
|00002d90| 63 2c 20 74 68 69 73 20 | 69 73 20 61 6c 77 61 79 |c, this |is alway|
|00002da0| 73 20 61 6e 20 69 6e 74 | 65 67 65 72 2c 20 62 75 |s an int|eger, bu|
|00002db0| 74 20 74 68 69 73 20 6d | 65 74 68 6f 64 51 2d 2d |t this m|ethodQ--|
|00002dc0| 20 72 65 74 75 72 6e 73 | 20 61 20 73 74 72 69 6e | returns| a strin|
|00002dd0| 67 20 6f 66 20 74 68 65 | 20 69 6e 74 65 67 65 72 |g of the| integer|
|00002de0| 2c 20 66 6f 72 20 63 6f | 6d 70 61 74 69 62 69 6c |, for co|mpatibil|
|00002df0| 69 74 79 20 77 69 74 68 | 20 74 68 65 20 57 69 6e |ity with| the Win|
|00002e00| 20 76 65 72 73 69 6f 6e | 20 28 77 68 65 72 65 54 | version| (whereT|
|00002e10| 2d 2d 20 77 69 6e 64 6f | 77 54 79 70 65 73 20 63 |-- windo|wTypes c|
|00002e20| 61 6e 20 62 65 20 73 74 | 72 69 6e 67 73 29 2e 20 |an be st|rings). |
|00002e30| 52 65 74 75 72 6e 73 20 | 45 4d 50 54 59 20 69 66 |Returns |EMPTY if|
|00002e40| 20 74 68 65 20 73 75 70 | 70 6c 69 65 64 20 77 69 | the sup|plied wi|
|00002e50| 6e 64 6f 77 49 44 20 69 | 73 20 6e 6f 74 20 76 61 |ndowID i|s not va|
|00002e60| 6c 69 64 2e 1b 53 49 20 | 6d 47 65 74 57 69 6e 64 |lid..SI |mGetWind|
|00002e70| 6f 77 54 79 70 65 2c 20 | 77 69 6e 64 6f 77 49 44 |owType, |windowID|
|00002e80| 44 2d 2d 20 53 79 6e 6f | 6e 79 6d 20 66 6f 72 20 |D-- Syno|nym for |
|00002e90| 6d 57 69 6e 64 6f 77 54 | 79 70 65 2c 20 66 6f 72 |mWindowT|ype, for|
|00002ea0| 20 63 6f 6d 70 61 74 69 | 62 69 6c 69 74 79 20 77 | compati|bility w|
|00002eb0| 69 74 68 20 65 61 72 6c | 69 65 72 20 72 65 6c 65 |ith earl|ier rele|
|00002ec0| 61 73 65 73 2e 1d 49 49 | 20 6d 57 69 6e 64 6f 77 |ases..II| mWindow|
|00002ed0| 49 73 56 69 73 69 62 6c | 65 2c 20 77 69 6e 64 6f |IsVisibl|e, windo|
|00002ee0| 77 49 44 4c 2d 2d 20 52 | 65 74 75 72 6e 73 20 54 |wIDL-- R|eturns T|
|00002ef0| 52 55 45 20 69 66 20 74 | 68 65 20 77 69 6e 64 6f |RUE if t|he windo|
|00002f00| 77 20 69 73 20 64 69 73 | 70 6c 61 79 65 64 20 28 |w is dis|played (|
|00002f10| 62 75 74 20 70 6f 73 73 | 69 62 6c 79 20 6f 62 73 |but poss|ibly obs|
|00002f20| 63 75 72 65 64 29 2c 20 | 6f 72 20 46 41 4c 53 45 |cured), |or FALSE|
|00002f30| 12 2d 2d 20 69 66 20 69 | 74 27 73 20 68 69 64 64 |.-- if i|t's hidd|
|00002f40| 65 6e 2e 12 49 20 6d 47 | 65 74 41 63 74 69 76 65 |en..I mG|etActive|
|00002f50| 57 69 6e 64 6f 77 54 2d | 2d 20 52 65 74 75 72 6e |WindowT-|- Return|
|00002f60| 73 20 77 69 6e 64 6f 77 | 49 44 20 6f 66 20 74 68 |s window|ID of th|
|00002f70| 65 20 66 72 6f 6e 74 6d | 6f 73 74 20 77 69 6e 64 |e frontm|ost wind|
|00002f80| 6f 77 20 28 30 20 69 66 | 20 6e 6f 20 77 69 6e 64 |ow (0 if| no wind|
|00002f90| 6f 77 73 20 61 72 65 20 | 76 69 73 69 62 6c 65 20 |ows are |visible |
|00002fa0| 6f 72 20 61 63 74 69 76 | 65 29 2e 49 2d 2d 20 4e |or activ|e).I-- N|
|00002fb0| 6f 74 65 3a 20 74 68 69 | 73 20 6f 6e 6c 79 20 61 |ote: thi|s only a|
|00002fc0| 70 70 6c 69 65 73 20 74 | 6f 20 77 69 6e 64 6f 77 |pplies t|o window|
|00002fd0| 73 20 6f 77 6e 65 64 20 | 62 79 20 74 68 65 20 44 |s owned |by the D|
|00002fe0| 69 72 65 63 74 6f 72 20 | 74 61 73 6b 2e 20 55 73 |irector |task. Us|
|00002ff0| 75 61 6c 6c 79 50 2d 2d | 20 72 65 74 75 72 6e 73 |uallyP--| returns|
|00003000| 20 74 68 65 20 73 61 6d | 65 20 77 69 6e 64 6f 77 | the sam|e window|
|00003010| 20 61 73 20 6d 44 69 72 | 65 63 74 6f 72 53 74 61 | as mDir|ectorSta|
|00003020| 67 65 57 69 6e 64 6f 77 | 20 69 6e 20 70 72 6f 6a |geWindow| in proj|
|00003030| 65 63 74 6f 72 73 2c 20 | 62 75 74 20 63 6f 75 6c |ectors, |but coul|
|00003040| 64 20 61 6c 73 6f 4b 2d | 2d 20 72 65 74 75 72 6e |d alsoK-|- return|
|00003050| 20 61 75 74 68 6f 72 69 | 6e 67 2d 74 69 6d 65 20 | authori|ng-time |
|00003060| 77 69 6e 64 6f 77 73 2c | 20 4d 49 41 57 73 2c 20 |windows,| MIAWs, |
|00003070| 6f 72 20 58 74 72 61 2d | 20 6f 72 20 58 4f 62 6a |or Xtra-| or XObj|
|00003080| 65 63 74 2d 6f 77 6e 65 | 64 20 77 69 6e 64 6f 77 |ect-owne|d window|
|00003090| 73 2e 1d 49 49 20 6d 53 | 65 74 41 63 74 69 76 65 |s..II mS|etActive|
|000030a0| 57 69 6e 64 6f 77 2c 20 | 77 69 6e 64 6f 77 49 44 |Window, |windowID|
|000030b0| 51 2d 2d 20 53 65 74 73 | 20 74 68 65 20 77 69 6e |Q-- Sets| the win|
|000030c0| 64 6f 77 20 74 6f 20 62 | 65 20 74 68 65 20 66 72 |dow to b|e the fr|
|000030d0| 6f 6e 74 6d 6f 73 74 2c | 20 61 63 74 69 76 65 20 |ontmost,| active |
|000030e0| 77 69 6e 64 6f 77 20 28 | 6d 61 6b 69 6e 67 20 69 |window (|making i|
|000030f0| 74 20 76 69 73 69 62 6c | 65 2c 20 69 66 20 69 74 |t visibl|e, if it|
|00003100| 27 73 56 2d 2d 20 68 69 | 64 64 65 6e 29 2e 20 52 |'sV-- hi|dden). R|
|00003110| 65 74 75 72 6e 73 20 74 | 68 65 20 70 72 65 76 69 |eturns t|he previ|
|00003120| 6f 75 73 6c 79 20 61 63 | 74 69 76 65 20 77 69 6e |ously ac|tive win|
|00003130| 64 6f 77 2e 20 4e 6f 74 | 65 20 31 3a 20 44 69 72 |dow. Not|e 1: Dir|
|00003140| 65 63 74 6f 72 20 6e 6f | 72 6d 61 6c 6c 79 20 65 |ector no|rmally e|
|00003150| 78 70 65 63 74 73 20 74 | 6f 49 2d 2d 20 61 63 74 |xpects t|oI-- act|
|00003160| 69 76 61 74 65 20 69 74 | 73 20 6f 77 6e 20 77 69 |ivate it|s own wi|
|00003170| 6e 64 6f 77 73 2c 20 61 | 6e 64 20 69 74 73 20 6e |ndows, a|nd its n|
|00003180| 6f 74 69 6f 6e 20 6f 66 | 20 77 68 69 63 68 20 77 |otion of| which w|
|00003190| 69 6e 64 6f 77 20 69 73 | 20 61 63 74 69 76 65 20 |indow is| active |
|000031a0| 6f 72 20 4e 2d 2d 20 66 | 72 6f 6e 74 6d 6f 73 74 |or N-- f|rontmost|
|000031b0| 20 6d 61 79 20 67 65 74 | 20 27 6f 75 74 20 6f 66 | may get| 'out of|
|000031c0| 20 73 79 6e 63 27 20 77 | 68 65 6e 20 75 73 69 6e | sync' w|hen usin|
|000031d0| 67 20 74 68 69 73 20 63 | 6f 6d 6d 61 6e 64 2e 20 |g this c|ommand. |
|000031e0| 53 65 6e 64 69 6e 67 20 | 66 61 6b 65 20 6d 6f 75 |Sending |fake mou|
|000031f0| 73 65 51 2d 2d 20 63 6c | 69 63 6b 73 20 69 6e 73 |seQ-- cl|icks ins|
|00003200| 74 65 61 64 20 6d 61 79 | 20 61 76 6f 69 64 20 74 |tead may| avoid t|
|00003210| 68 69 73 2e 20 4e 6f 74 | 65 20 32 3a 20 74 68 69 |his. Not|e 2: thi|
|00003220| 73 20 6d 65 74 68 6f 64 | 20 6f 6e 6c 79 20 61 70 |s method| only ap|
|00003230| 70 6c 69 65 73 20 74 6f | 20 74 68 65 20 63 75 72 |plies to| the cur|
|00003240| 72 65 6e 74 57 2d 2d 20 | 44 69 72 65 63 74 6f 72 |rentW-- |Director|
|00003250| 20 74 61 73 6b 2d 2d 20 | 75 73 65 20 6d 57 69 6e | task-- |use mWin|
|00003260| 64 6f 77 54 6f 46 72 6f | 6e 74 20 77 69 74 68 20 |dowToFro|nt with |
|00003270| 6f 74 68 65 72 20 61 70 | 70 6c 69 63 61 74 69 6f |other ap|plicatio|
|00003280| 6e 73 2e 20 4e 6f 74 65 | 20 33 3a 20 74 68 69 73 |ns. Note| 3: this|
|00003290| 20 6d 65 74 68 6f 64 20 | 77 69 6c 6c 4b 2d 2d 20 | method |willK-- |
|000032a0| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 62 72 |automati|cally br|
|000032b0| 69 6e 67 20 74 68 65 20 | 44 69 72 65 63 74 6f 72 |ing the |Director|
|000032c0| 20 74 61 73 6b 20 74 6f | 20 74 68 65 20 66 72 6f | task to| the fro|
|000032d0| 6e 74 2c 20 69 66 20 69 | 74 27 73 20 6e 6f 74 20 |nt, if i|t's not |
|000032e0| 61 6c 72 65 61 64 79 2e | 19 49 20 6d 47 65 74 4b |already.|.I mGetK|
|000032f0| 65 79 62 6f 61 72 64 49 | 6e 70 75 74 57 69 6e 64 |eyboardI|nputWind|
|00003300| 6f 77 51 2d 2d 20 4f 6e | 20 57 69 6e 64 6f 77 73 |owQ-- On| Windows|
|00003310| 2c 20 74 68 69 73 20 69 | 73 20 61 20 64 69 73 74 |, this i|s a dist|
|00003320| 69 6e 63 74 20 73 79 73 | 74 65 6d 20 63 61 6c 6c |inct sys|tem call|
|00003330| 2e 20 4f 6e 20 74 68 65 | 20 4d 61 63 2c 20 74 68 |. On the| Mac, th|
|00003340| 65 72 65 20 69 73 20 6e | 6f 20 73 75 63 68 20 63 |ere is n|o such c|
|00003350| 61 6c 6c 2c 44 2d 2d 20 | 73 6f 20 74 68 69 73 20 |all,D-- |so this |
|00003360| 6d 65 74 68 6f 64 20 69 | 73 20 6a 75 73 74 20 61 |method i|s just a|
|00003370| 20 73 79 6e 6f 6e 79 6d | 20 66 6f 72 20 6d 47 65 | synonym| for mGe|
|00003380| 74 41 63 74 69 76 65 57 | 69 6e 64 6f 77 20 6f 6e |tActiveW|indow on|
|00003390| 20 74 68 65 20 4d 61 63 | 2e 24 49 49 20 6d 53 65 | the Mac|.$II mSe|
|000033a0| 74 4b 65 79 62 6f 61 72 | 64 49 6e 70 75 74 57 69 |tKeyboar|dInputWi|
|000033b0| 6e 64 6f 77 2c 20 77 69 | 6e 64 6f 77 49 44 54 2d |ndow, wi|ndowIDT-|
|000033c0| 2d 20 4f 6e 20 57 69 6e | 64 6f 77 73 2c 20 74 68 |- On Win|dows, th|
|000033d0| 69 73 20 69 73 20 61 20 | 64 69 73 74 69 6e 63 74 |is is a |distinct|
|000033e0| 20 73 79 73 74 65 6d 20 | 63 61 6c 6c 2c 20 77 69 | system |call, wi|
|000033f0| 74 68 20 6e 6f 20 4d 61 | 63 20 65 71 75 69 76 61 |th no Ma|c equiva|
|00003400| 6c 65 6e 74 3b 20 74 68 | 65 72 65 66 6f 72 65 2c |lent; th|erefore,|
|00003410| 20 6f 6e 40 2d 2d 20 74 | 68 65 20 4d 61 63 2c 20 | on@-- t|he Mac, |
|00003420| 74 68 69 73 20 6d 65 74 | 68 6f 64 20 69 73 20 6a |this met|hod is j|
|00003430| 75 73 74 20 61 20 73 79 | 6e 6f 6e 79 6d 6e 20 66 |ust a sy|nonymn f|
|00003440| 6f 72 20 6d 53 65 74 41 | 63 74 69 76 65 57 69 6e |or mSetA|ctiveWin|
|00003450| 64 6f 77 2e 1f 49 49 20 | 6d 43 61 70 74 75 72 65 |dow..II |mCapture|
|00003460| 4d 6f 75 73 65 49 6e 70 | 75 74 2c 20 77 69 6e 64 |MouseInp|ut, wind|
|00003470| 6f 77 49 44 51 2d 2d 20 | 4f 6e 20 57 69 6e 64 6f |owIDQ-- |On Windo|
|00003480| 77 73 2c 20 74 68 69 73 | 20 69 73 20 61 20 64 69 |ws, this| is a di|
|00003490| 73 74 69 6e 63 74 20 73 | 79 73 74 65 6d 20 63 61 |stinct s|ystem ca|
|000034a0| 6c 6c 2e 20 4f 6e 20 74 | 68 65 20 4d 61 63 2c 20 |ll. On t|he Mac, |
|000034b0| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 73 75 63 68 |there is| no such|
|000034c0| 20 63 61 6c 6c 2c 44 2d | 2d 20 73 6f 20 74 68 69 | call,D-|- so thi|
|000034d0| 73 20 6d 65 74 68 6f 64 | 20 69 73 20 6a 75 73 74 |s method| is just|
|000034e0| 20 61 20 73 79 6e 6f 6e | 79 6d 20 66 6f 72 20 6d | a synon|ym for m|
|000034f0| 53 65 74 41 63 74 69 76 | 65 57 69 6e 64 6f 77 20 |SetActiv|eWindow |
|00003500| 6f 6e 20 74 68 65 20 4d | 61 63 2e 14 58 20 6d 52 |on the M|ac..X mR|
|00003510| 65 6c 65 61 73 65 4d 6f | 75 73 65 49 6e 70 75 74 |eleaseMo|useInput|
|00003520| 54 2d 2d 20 4f 6e 20 74 | 68 65 20 4d 61 63 2c 20 |T-- On t|he Mac, |
|00003530| 74 68 69 73 20 6d 65 74 | 68 6f 64 20 64 6f 65 73 |this met|hod does|
|00003540| 20 6e 6f 74 68 69 6e 67 | 2c 20 62 65 63 61 75 73 | nothing|, becaus|
|00003550| 65 20 74 68 65 72 65 27 | 73 20 6e 6f 20 4d 61 63 |e there'|s no Mac|
|00003560| 20 65 71 75 69 76 61 6c | 65 6e 74 20 66 6f 72 20 | equival|ent for |
|00003570| 74 68 69 73 2e 17 2d 2d | 20 57 69 6e 64 6f 77 73 |this..--| Windows|
|00003580| 20 73 79 73 74 65 6d 20 | 63 61 6c 6c 2e 25 49 49 | system |call.%II|
|00003590| 20 6d 47 65 74 50 61 72 | 65 6e 74 57 69 6e 64 6f | mGetPar|entWindo|
|000035a0| 77 54 6f 70 43 68 69 6c | 64 2c 20 77 69 6e 64 6f |wTopChil|d, windo|
|000035b0| 77 49 44 51 2d 2d 20 57 | 69 6e 64 6f 77 73 20 61 |wIDQ-- W|indows a|
|000035c0| 72 63 68 69 74 65 63 74 | 75 72 65 20 64 69 66 66 |rchitect|ure diff|
|000035d0| 65 72 73 20 66 72 6f 6d | 20 4d 61 63 20 61 72 63 |ers from| Mac arc|
|000035e0| 68 69 74 65 63 74 75 72 | 65 2e 20 4f 6e 20 57 69 |hitectur|e. On Wi|
|000035f0| 6e 64 6f 77 73 2c 20 65 | 61 63 68 20 61 70 70 20 |ndows, e|ach app |
|00003600| 68 61 73 20 61 55 2d 2d | 20 70 61 72 65 6e 74 20 |has aU--| parent |
|00003610| 77 69 6e 64 6f 77 20 77 | 68 69 63 68 20 6d 61 79 |window w|hich may|
|00003620| 20 63 6f 6e 74 61 69 6e | 20 6f 74 68 65 72 20 77 | contain| other w|
|00003630| 69 6e 64 6f 77 73 20 28 | 65 6e 74 69 72 65 6c 79 |indows (|entirely|
|00003640| 20 77 69 74 68 69 6e 20 | 74 68 65 20 70 61 72 65 | within |the pare|
|00003650| 6e 74 29 2e 20 4f 6e 20 | 74 68 65 53 2d 2d 20 4d |nt). On |theS-- M|
|00003660| 61 63 2c 20 70 61 72 65 | 6e 74 20 77 69 6e 64 6f |ac, pare|nt windo|
|00003670| 77 73 20 6d 61 79 20 61 | 70 70 65 61 72 20 61 6e |ws may a|ppear an|
|00003680| 79 77 68 65 72 65 20 6f | 6e 20 74 68 65 20 64 65 |ywhere o|n the de|
|00003690| 73 6b 74 6f 70 2c 20 61 | 6e 64 20 64 6f 6e 27 74 |sktop, a|nd don't|
|000036a0| 20 6f 77 6e 20 73 75 62 | 77 69 6e 64 6f 77 73 53 | own sub|windowsS|
|000036b0| 2d 2d 20 70 65 72 20 73 | 65 2d 2d 20 70 65 72 68 |-- per s|e-- perh|
|000036c0| 61 70 73 20 73 6f 6d 65 | 20 63 6f 6e 74 72 6f 6c |aps some| control|
|000036d0| 73 20 77 69 74 68 69 6e | 20 74 68 65 20 77 69 6e |s within| the win|
|000036e0| 64 6f 77 2c 20 62 75 74 | 20 74 68 65 73 65 20 63 |dow, but| these c|
|000036f0| 6f 6e 74 72 6f 6c 73 20 | 64 6f 20 6e 6f 74 20 68 |ontrols |do not h|
|00003700| 61 76 65 50 2d 2d 20 61 | 6e 79 20 66 72 6f 6e 74 |aveP-- a|ny front|
|00003710| 2d 74 6f 2d 62 61 63 6b | 20 6c 61 79 65 72 69 6e |-to-back| layerin|
|00003720| 67 2e 20 4f 6e 20 74 68 | 65 20 4d 61 63 2c 20 74 |g. On th|e Mac, t|
|00003730| 68 65 72 65 66 6f 72 65 | 2c 20 74 68 69 73 20 6d |herefore|, this m|
|00003740| 65 74 68 6f 64 20 73 69 | 6d 70 6c 79 20 72 65 74 |ethod si|mply ret|
|00003750| 75 72 6e 73 47 2d 2d 20 | 74 68 65 20 66 69 72 73 |urnsG-- |the firs|
|00003760| 74 20 63 6f 6e 74 72 6f | 6c 20 6f 77 6e 65 64 20 |t contro|l owned |
|00003770| 62 79 20 61 20 77 69 6e | 64 6f 77 20 28 6f 72 20 |by a win|dow (or |
|00003780| 30 20 69 66 20 74 68 65 | 72 65 20 61 72 65 20 6e |0 if the|re are n|
|00003790| 6f 20 63 6f 6e 74 72 6f | 6c 73 29 2e 13 49 20 6d |o contro|ls)..I m|
|000037a0| 47 65 74 44 65 73 6b 74 | 6f 70 57 69 6e 64 6f 77 |GetDeskt|opWindow|
|000037b0| 4f 2d 2d 20 52 65 74 75 | 72 6e 73 20 74 68 65 20 |O-- Retu|rns the |
|000037c0| 77 69 6e 64 6f 77 49 44 | 20 6f 66 20 74 68 65 20 |windowID| of the |
|000037d0| 4d 61 63 20 64 65 73 6b | 74 6f 70 20 69 74 73 65 |Mac desk|top itse|
|000037e0| 6c 66 20 28 77 68 69 63 | 68 20 69 6e 63 6c 75 64 |lf (whic|h includ|
|000037f0| 65 73 20 61 6c 6c 20 73 | 63 72 65 65 6e 73 29 2e |es all s|creens).|
|00003800| 4e 2d 2d 20 44 69 72 65 | 63 74 6f 72 20 35 20 75 |N-- Dire|ctor 5 u|
|00003810| 73 65 72 73 20 6d 61 79 | 20 70 72 65 66 65 72 20 |sers may| prefer |
|00003820| 74 6f 20 75 73 65 20 74 | 68 65 20 62 75 69 6c 74 |to use t|he built|
|00003830| 2d 69 6e 20 4c 69 6e 67 | 6f 20 27 64 65 73 6b 74 |-in Ling|o 'deskt|
|00003840| 6f 70 52 65 63 74 4c 69 | 73 74 27 20 66 6f 72 53 |opRectLi|st' forS|
|00003850| 2d 2d 20 74 68 69 73 2e | 20 54 68 69 73 20 77 69 |-- this.| This wi|
|00003860| 6e 64 6f 77 27 73 20 64 | 69 6d 65 6e 73 69 6f 6e |ndow's d|imension|
|00003870| 73 20 61 72 65 20 66 61 | 62 72 69 63 61 74 65 64 |s are fa|bricated|
|00003880| 20 62 79 20 4d 61 63 20 | 4d 61 73 74 65 72 41 70 | by Mac |MasterAp|
|00003890| 70 2c 20 69 6e 20 6f 72 | 64 65 72 20 74 6f 20 6b |p, in or|der to k|
|000038a0| 65 65 70 56 2d 2d 20 63 | 6f 6d 70 61 74 69 62 69 |eepV-- c|ompatibi|
|000038b0| 6c 69 74 79 20 77 69 74 | 68 20 74 68 65 20 57 69 |lity wit|h the Wi|
|000038c0| 6e 64 6f 77 73 20 76 65 | 72 73 69 6f 6e 20 6f 66 |ndows ve|rsion of|
|000038d0| 20 4d 61 73 74 65 72 41 | 70 70 2e 20 49 6e 20 74 | MasterA|pp. In t|
|000038e0| 68 65 20 74 72 75 65 20 | 4d 61 63 4f 53 20 77 69 |he true |MacOS wi|
|000038f0| 6e 64 6f 77 20 6c 69 73 | 74 2c 2c 2d 2d 20 74 68 |ndow lis|t,,-- th|
|00003900| 69 73 20 77 69 6e 64 6f | 77 20 69 73 20 7a 65 72 |is windo|w is zer|
|00003910| 6f 20 70 69 78 65 6c 73 | 20 74 61 6c 6c 20 61 6e |o pixels| tall an|
|00003920| 64 20 77 69 64 65 2e 22 | 53 49 20 6d 47 65 74 57 |d wide."|SI mGetW|
|00003930| 69 6e 64 6f 77 4f 75 74 | 73 69 64 65 52 65 63 74 |indowOut|sideRect|
|00003940| 2c 20 77 69 6e 64 6f 77 | 49 44 4c 2d 2d 20 52 65 |, window|IDL-- Re|
|00003950| 74 75 72 6e 73 20 61 20 | 77 69 6e 64 6f 77 27 73 |turns a |window's|
|00003960| 20 64 69 6d 65 6e 73 69 | 6f 6e 73 2c 20 72 65 6c | dimensi|ons, rel|
|00003970| 61 74 69 76 65 20 74 6f | 20 74 68 65 20 6d 61 69 |ative to| the mai|
|00003980| 6e 20 73 63 72 65 65 6e | 2c 20 69 6e 63 6c 75 64 |n screen|, includ|
|00003990| 69 6e 67 20 61 6e 79 4d | 2d 2d 20 74 69 74 6c 65 |ing anyM|-- title|
|000039a0| 20 62 61 72 20 61 72 65 | 61 2c 20 61 73 20 61 20 | bar are|a, as a |
|000039b0| 66 6f 75 72 2d 77 6f 72 | 64 20 73 74 72 69 6e 67 |four-wor|d string|
|000039c0| 20 6f 66 20 69 6e 74 65 | 67 65 72 73 20 69 6e 20 | of inte|gers in |
|000039d0| 74 68 65 20 6f 72 64 65 | 72 3a 20 6c 65 66 74 2c |the orde|r: left,|
|000039e0| 20 74 6f 70 2c 4c 2d 2d | 20 72 69 67 68 74 2c 20 | top,L--| right, |
|000039f0| 62 6f 74 74 6f 6d 2e 20 | 52 65 74 75 72 6e 73 20 |bottom. |Returns |
|00003a00| 27 45 72 72 6f 72 3a 27 | 20 61 73 20 77 6f 72 64 |'Error:'| as word|
|00003a10| 20 31 20 69 66 20 74 68 | 65 72 65 27 73 20 61 20 | 1 if th|ere's a |
|00003a20| 70 72 6f 62 6c 65 6d 2e | 20 4e 6f 74 65 20 74 68 |problem.| Note th|
|00003a30| 61 74 4b 2d 2d 20 73 6f | 6d 65 20 61 70 70 73 20 |atK-- so|me apps |
|00003a40| 28 44 69 72 65 63 74 6f | 72 20 69 74 73 65 6c 66 |(Directo|r itself|
|00003a50| 20 69 6e 63 6c 75 64 65 | 64 29 2c 20 65 78 70 65 | include|d), expe|
|00003a60| 63 74 69 6e 67 20 74 6f | 20 6d 61 69 6e 74 61 69 |cting to| maintai|
|00003a70| 6e 20 63 68 69 6c 64 20 | 77 69 6e 64 6f 77 4b 2d |n child |windowK-|
|00003a80| 2d 20 64 69 6d 65 6e 73 | 69 6f 6e 73 20 70 72 69 |- dimens|ions pri|
|00003a90| 76 61 74 65 6c 79 2c 20 | 6d 61 79 20 72 65 74 75 |vately, |may retu|
|00003aa0| 72 6e 20 76 61 6c 75 65 | 73 20 74 68 61 74 20 61 |rn value|s that a|
|00003ab0| 72 65 20 6f 66 66 73 65 | 74 20 66 72 6f 6d 20 74 |re offse|t from t|
|00003ac0| 72 75 65 20 73 63 72 65 | 65 6e 50 2d 2d 20 63 6f |rue scre|enP-- co|
|00003ad0| 6f 72 64 69 6e 61 74 65 | 73 3b 20 74 65 73 74 69 |ordinate|s; testi|
|00003ae0| 6e 67 20 69 73 20 72 65 | 71 75 69 72 65 64 20 66 |ng is re|quired f|
|00003af0| 6f 72 20 65 61 63 68 20 | 61 70 70 20 77 69 74 68 |or each |app with|
|00003b00| 20 77 68 69 63 68 20 79 | 6f 75 20 75 73 65 20 74 | which y|ou use t|
|00003b10| 68 69 73 20 6d 65 74 68 | 6f 64 2e 21 53 49 20 6d |his meth|od.!SI m|
|00003b20| 47 65 74 57 69 6e 64 6f | 77 49 6e 73 69 64 65 52 |GetWindo|wInsideR|
|00003b30| 65 63 74 2c 20 77 69 6e | 64 6f 77 49 44 4c 2d 2d |ect, win|dowIDL--|
|00003b40| 20 52 65 74 75 72 6e 73 | 20 61 20 77 69 6e 64 6f | Returns| a windo|
|00003b50| 77 27 73 20 64 69 6d 65 | 6e 73 69 6f 6e 73 2c 20 |w's dime|nsions, |
|00003b60| 72 65 6c 61 74 69 76 65 | 20 74 6f 20 74 68 65 20 |relative| to the |
|00003b70| 6d 61 69 6e 20 73 63 72 | 65 65 6e 2c 20 6e 6f 74 |main scr|een, not|
|00003b80| 20 69 6e 63 6c 75 64 69 | 6e 67 4c 2d 2d 20 61 6e | includi|ngL-- an|
|00003b90| 79 20 74 69 74 6c 65 20 | 62 61 72 20 61 72 65 61 |y title |bar area|
|00003ba0| 2c 20 69 6e 20 74 68 65 | 20 73 61 6d 65 20 66 6f |, in the| same fo|
|00003bb0| 72 6d 61 74 20 75 73 65 | 64 20 62 79 20 6d 47 65 |rmat use|d by mGe|
|00003bc0| 74 57 69 6e 64 6f 77 4f | 75 74 73 69 64 65 52 65 |tWindowO|utsideRe|
|00003bd0| 63 74 2e 20 54 68 65 3a | 2d 2d 20 73 61 6d 65 20 |ct. The:|-- same |
|00003be0| 70 72 65 63 61 75 74 69 | 6f 6e 73 20 64 6f 63 75 |precauti|ons docu|
|00003bf0| 6d 65 6e 74 65 64 20 74 | 68 65 72 65 20 61 70 70 |mented t|here app|
|00003c00| 6c 79 20 74 6f 20 74 68 | 69 73 20 6d 65 74 68 6f |ly to th|is metho|
|00003c10| 64 2e 40 49 49 49 49 49 | 49 20 6d 53 65 74 57 69 |d.@IIIII|I mSetWi|
|00003c20| 6e 64 6f 77 4f 75 74 73 | 69 64 65 52 65 63 74 2c |ndowOuts|ideRect,|
|00003c30| 20 77 69 6e 64 6f 77 49 | 44 2c 20 6c 65 66 74 2c | windowI|D, left,|
|00003c40| 20 74 6f 70 2c 20 72 69 | 67 68 74 2c 20 62 6f 74 | top, ri|ght, bot|
|00003c50| 74 6f 6d 45 2d 2d 20 53 | 65 74 73 20 6f 75 74 73 |tomE-- S|ets outs|
|00003c60| 69 64 65 20 77 69 6e 64 | 6f 77 20 72 65 63 74 61 |ide wind|ow recta|
|00003c70| 6e 67 6c 65 20 64 69 6d | 65 6e 73 69 6f 6e 73 2e |ngle dim|ensions.|
|00003c80| 20 59 6f 75 20 63 61 6e | 20 6d 6f 76 65 20 6f 72 | You can| move or|
|00003c90| 20 72 65 73 69 7a 65 20 | 61 47 2d 2d 20 77 69 6e | resize |aG-- win|
|00003ca0| 64 6f 77 20 62 61 73 65 | 64 20 6f 6e 20 74 68 65 |dow base|d on the|
|00003cb0| 20 64 69 6d 65 6e 73 69 | 6f 6e 73 20 79 6f 75 20 | dimensi|ons you |
|00003cc0| 70 72 6f 76 69 64 65 2e | 20 52 65 74 75 72 6e 73 |provide.| Returns|
|00003cd0| 20 30 20 69 66 20 73 75 | 63 63 65 73 73 66 75 6c | 0 if su|ccessful|
|00003ce0| 2c 49 2d 2d 20 31 20 69 | 66 20 74 68 65 20 73 75 |,I-- 1 i|f the su|
|00003cf0| 70 70 6c 69 65 64 20 64 | 69 6d 65 6e 73 69 6f 6e |pplied d|imension|
|00003d00| 73 20 61 72 65 20 69 6e | 76 61 6c 69 64 2c 20 32 |s are in|valid, 2|
|00003d10| 20 69 66 20 74 68 65 20 | 77 69 6e 64 6f 77 27 73 | if the |window's|
|00003d20| 20 6e 6f 74 20 76 61 6c | 69 64 2e 4c 2d 2d 20 4e | not val|id.L-- N|
|00003d30| 6f 74 65 20 74 68 61 74 | 20 74 68 69 73 20 6d 65 |ote that| this me|
|00003d40| 74 68 6f 64 20 62 65 68 | 61 76 65 73 20 64 69 66 |thod beh|aves dif|
|00003d50| 66 65 72 65 6e 74 6c 79 | 20 6f 6e 20 4d 61 63 20 |ferently| on Mac |
|00003d60| 61 6e 64 20 57 69 6e 64 | 6f 77 73 2e 20 53 63 72 |and Wind|ows. Scr|
|00003d70| 6f 6c 6c 20 62 61 72 73 | 49 2d 2d 20 61 6e 64 20 |oll bars|I-- and |
|00003d80| 6f 74 68 65 72 20 77 69 | 6e 64 6f 77 20 63 6f 6e |other wi|ndow con|
|00003d90| 74 65 6e 74 20 63 61 6e | 20 62 65 63 6f 6d 65 20 |tent can| become |
|00003da0| 68 69 64 64 65 6e 20 61 | 73 20 61 20 72 65 73 75 |hidden a|s a resu|
|00003db0| 6c 74 20 6f 6e 20 74 68 | 65 20 4d 61 63 2c 20 62 |lt on th|e Mac, b|
|00003dc0| 75 74 48 2d 2d 20 6f 6e | 20 57 69 6e 64 6f 77 73 |utH-- on| Windows|
|00003dd0| 2c 20 74 68 65 20 65 6e | 74 69 72 65 20 77 69 6e |, the en|tire win|
|00003de0| 64 6f 77 20 61 6e 64 20 | 69 74 73 20 63 6f 6e 74 |dow and |its cont|
|00003df0| 72 6f 6c 73 20 61 72 65 | 20 72 65 64 72 61 77 6e |rols are| redrawn|
|00003e00| 20 74 6f 20 74 68 65 20 | 6e 65 77 4c 2d 2d 20 73 | to the |newL-- s|
|00003e10| 69 7a 65 2e 20 4f 6e 20 | 74 68 65 20 4d 61 63 2c |ize. On |the Mac,|
|00003e20| 20 69 74 27 73 20 62 65 | 73 74 20 74 6f 20 63 68 | it's be|st to ch|
|00003e30| 61 6e 67 65 20 6f 6e 6c | 79 20 74 68 65 20 70 6f |ange onl|y the po|
|00003e40| 73 69 74 69 6f 6e 20 6f | 66 20 74 68 65 20 72 65 |sition o|f the re|
|00003e50| 63 74 61 6e 67 6c 65 2c | 4d 2d 2d 20 6e 6f 74 20 |ctangle,|M-- not |
|00003e60| 69 74 73 20 68 65 69 67 | 68 74 20 61 6e 64 20 77 |its heig|ht and w|
|00003e70| 69 64 74 68 2e 20 59 6f | 75 20 6d 61 79 20 62 65 |idth. Yo|u may be|
|00003e80| 20 61 62 6c 65 20 74 6f | 20 75 73 65 20 74 68 65 | able to| use the|
|00003e90| 20 6d 46 61 6b 65 4d 6f | 75 73 65 44 72 61 67 20 | mFakeMo|useDrag |
|00003ea0| 6d 65 74 68 6f 64 4a 2d | 2d 20 62 65 6c 6f 77 20 |methodJ-|- below |
|00003eb0| 74 6f 20 73 69 6d 75 6c | 61 74 65 20 61 20 64 72 |to simul|ate a dr|
|00003ec0| 61 67 20 6f 6e 20 74 68 | 65 20 72 65 73 69 7a 69 |ag on th|e resizi|
|00003ed0| 6e 67 20 62 6f 78 20 6f | 6e 20 74 68 65 20 4d 61 |ng box o|n the Ma|
|00003ee0| 63 2c 20 74 6f 20 61 63 | 68 65 69 76 65 20 74 68 |c, to ac|heive th|
|00003ef0| 65 2e 2d 2d 20 65 66 66 | 65 63 74 20 6f 66 20 6d |e.-- eff|ect of m|
|00003f00| 53 65 74 57 69 6e 64 6f | 77 4f 75 74 73 69 64 65 |SetWindo|wOutside|
|00003f10| 52 65 63 74 20 6f 6e 20 | 57 69 6e 64 6f 77 73 2e |Rect on |Windows.|
|00003f20| 39 49 49 49 49 49 49 20 | 6d 53 65 74 57 69 6e 64 |9IIIIII |mSetWind|
|00003f30| 6f 77 52 65 63 74 2c 20 | 77 69 6e 64 6f 77 49 44 |owRect, |windowID|
|00003f40| 2c 20 6c 65 66 74 2c 20 | 74 6f 70 2c 20 72 69 67 |, left, |top, rig|
|00003f50| 68 74 2c 20 62 6f 74 74 | 6f 6d 4d 2d 2d 20 53 79 |ht, bott|omM-- Sy|
|00003f60| 6e 6f 6e 79 6d 20 66 6f | 72 20 6d 53 65 74 57 69 |nonym fo|r mSetWi|
|00003f70| 6e 64 6f 77 4f 75 74 73 | 69 64 65 52 65 63 74 2c |ndowOuts|ideRect,|
|00003f80| 20 66 6f 72 20 63 6f 6d | 70 61 74 69 62 69 69 74 | for com|patibiit|
|00003f90| 79 20 77 69 74 68 20 65 | 61 72 6c 69 65 72 20 76 |y with e|arlier v|
|00003fa0| 65 72 73 69 6f 6e 73 2e | 19 49 49 20 6d 43 6c 6f |ersions.|.II mClo|
|00003fb0| 73 65 57 69 6e 64 6f 77 | 2c 20 77 69 6e 64 6f 77 |seWindow|, window|
|00003fc0| 49 44 4f 2d 2d 20 53 69 | 6d 75 6c 61 74 65 73 20 |IDO-- Si|mulates |
|00003fd0| 61 20 6d 6f 75 73 65 20 | 70 72 65 73 73 20 6f 6e |a mouse |press on|
|00003fe0| 20 61 20 77 69 6e 64 6f | 77 27 73 20 63 6c 6f 73 | a windo|w's clos|
|00003ff0| 65 20 62 6f 78 2e 20 44 | 6f 65 73 20 6e 6f 74 20 |e box. D|oes not |
|00004000| 77 6f 72 6b 20 69 66 20 | 74 68 65 20 77 69 6e 64 |work if |the wind|
|00004010| 6f 77 4b 2d 2d 20 64 6f | 65 73 20 6e 6f 74 20 68 |owK-- do|es not h|
|00004020| 61 76 65 20 61 20 63 6c | 6f 73 65 20 62 6f 78 21 |ave a cl|ose box!|
|00004030| 20 41 6c 73 6f 2c 20 61 | 20 77 69 6e 64 6f 77 20 | Also, a| window |
|00004040| 6d 61 79 20 6e 6f 74 20 | 68 61 76 65 20 61 20 63 |may not |have a c|
|00004050| 6c 6f 73 65 20 62 6f 78 | 20 75 6e 74 69 6c 55 2d |lose box| untilU-|
|00004060| 2d 20 69 74 27 73 20 66 | 72 6f 6e 74 6d 6f 73 74 |- it's f|rontmost|
|00004070| 2e 20 57 69 74 68 20 73 | 6f 6d 65 20 61 70 70 73 |. With s|ome apps|
|00004080| 2c 20 74 6f 20 63 6c 6f | 73 65 20 77 69 6e 64 6f |, to clo|se windo|
|00004090| 77 73 2c 20 79 6f 75 20 | 6d 61 79 20 6e 65 65 64 |ws, you |may need|
|000040a0| 20 74 6f 20 73 65 6e 64 | 20 61 20 66 61 6b 65 20 | to send| a fake |
|000040b0| 6d 65 6e 75 51 2d 2d 20 | 63 6f 6d 6d 61 6e 64 20 |menuQ-- |command |
|000040c0| 74 6f 20 63 6c 6f 73 65 | 20 61 20 77 69 6e 64 6f |to close| a windo|
|000040d0| 77 2c 20 6f 72 20 73 65 | 6e 64 20 61 20 66 61 6b |w, or se|nd a fak|
|000040e0| 65 20 6d 6f 75 73 65 20 | 70 72 65 73 73 20 74 6f |e mouse |press to|
|000040f0| 20 73 6f 6d 65 20 69 6e | 74 65 72 66 61 63 65 20 | some in|terface |
|00004100| 67 61 64 67 65 74 50 2d | 2d 20 77 69 74 68 69 6e |gadgetP-|- within|
|00004110| 20 74 68 65 20 77 69 6e | 64 6f 77 20 61 72 65 61 | the win|dow area|
|00004120| 20 69 74 73 65 6c 66 2e | 20 4e 6f 74 65 20 31 3a | itself.| Note 1:|
|00004130| 20 6d 48 69 64 65 57 69 | 6e 64 6f 77 20 6d 61 79 | mHideWi|ndow may|
|00004140| 20 77 6f 72 6b 20 62 65 | 74 74 65 72 2d 2d 20 44 | work be|tter-- D|
|00004150| 69 72 65 63 74 6f 72 4a | 2d 2d 20 69 74 73 65 6c |irectorJ|-- itsel|
|00004160| 66 20 73 69 6d 70 6c 79 | 20 68 69 64 65 73 20 61 |f simply| hides a|
|00004170| 75 74 68 6f 72 69 6e 67 | 2d 74 69 6d 65 20 77 69 |uthoring|-time wi|
|00004180| 6e 64 6f 77 73 20 77 68 | 65 6e 20 70 72 65 73 73 |ndows wh|en press|
|00004190| 69 6e 67 20 74 68 65 20 | 63 6c 6f 73 65 20 62 6f |ing the |close bo|
|000041a0| 78 2e 4b 2d 2d 20 4e 6f | 74 65 20 32 3a 20 57 69 |x.K-- No|te 2: Wi|
|000041b0| 6e 64 6f 77 73 20 61 70 | 70 73 20 71 75 69 74 20 |ndows ap|ps quit |
|000041c0| 77 68 65 6e 20 74 68 65 | 20 6d 61 69 6e 20 77 69 |when the| main wi|
|000041d0| 6e 64 6f 77 20 63 6c 6f | 73 65 73 2c 20 62 75 74 |ndow clo|ses, but|
|000041e0| 20 6d 6f 73 74 20 4d 61 | 63 20 61 70 70 73 4e 2d | most Ma|c appsN-|
|000041f0| 2d 20 64 6f 6e 27 74 20 | 71 75 69 74 2c 20 61 6e |- don't |quit, an|
|00004200| 64 20 73 74 69 6c 6c 20 | 73 68 6f 77 20 61 20 6d |d still |show a m|
|00004210| 65 6e 75 2e 20 55 73 65 | 20 6d 52 75 64 65 51 75 |enu. Use| mRudeQu|
|00004220| 69 74 54 61 73 6b 20 69 | 6e 20 73 75 63 68 20 63 |itTask i|n such c|
|00004230| 61 73 65 73 2e 20 4e 6f | 74 65 20 33 3a 4e 2d 2d |ases. No|te 3:N--|
|00004240| 20 62 79 20 64 65 66 61 | 75 6c 74 2c 20 74 68 65 | by defa|ult, the|
|00004250| 20 63 65 6e 74 65 72 20 | 6f 66 20 74 68 65 20 63 | center |of the c|
|00004260| 6c 6f 73 65 20 62 6f 78 | 20 69 73 20 61 73 73 75 |lose box| is assu|
|00004270| 6d 65 64 20 74 6f 20 62 | 65 20 31 34 20 70 69 78 |med to b|e 14 pix|
|00004280| 65 6c 73 20 66 72 6f 6d | 20 74 68 65 50 2d 2d 20 |els from| theP-- |
|00004290| 6c 65 66 74 20 6f 66 20 | 74 68 65 20 77 69 6e 64 |left of |the wind|
|000042a0| 6f 77 20 74 69 74 6c 65 | 20 62 61 72 2c 20 61 6e |ow title| bar, an|
|000042b0| 64 20 38 20 70 69 78 65 | 6c 73 20 66 72 6f 6d 20 |d 8 pixe|ls from |
|000042c0| 74 68 65 20 74 6f 70 2e | 20 59 6f 75 20 63 61 6e |the top.| You can|
|000042d0| 20 63 68 61 6e 67 65 20 | 74 68 65 73 65 52 2d 2d | change |theseR--|
|000042e0| 20 76 61 6c 75 65 73 20 | 77 69 74 68 20 74 68 65 | values |with the|
|000042f0| 20 6d 53 65 74 43 6c 6f | 73 65 42 6f 78 4f 66 66 | mSetClo|seBoxOff|
|00004300| 73 65 74 20 6d 65 74 68 | 6f 64 3b 20 79 6f 75 20 |set meth|od; you |
|00004310| 63 61 6e 20 61 6c 73 6f | 20 75 73 65 20 74 68 65 |can also| use the|
|00004320| 20 6d 46 69 6e 64 57 69 | 6e 64 6f 77 50 61 72 74 | mFindWi|ndowPart|
|00004330| 4f 2d 2d 20 6d 65 74 68 | 6f 64 20 74 6f 20 6c 6f |O-- meth|od to lo|
|00004340| 63 61 74 65 20 6f 6e 65 | 20 6f 66 20 44 69 72 65 |cate one| of Dire|
|00004350| 63 74 6f 72 27 73 20 6f | 77 6e 20 77 69 6e 64 6f |ctor's o|wn windo|
|00004360| 77 73 27 20 63 6c 6f 73 | 65 20 62 6f 78 2e 20 54 |ws' clos|e box. T|
|00004370| 68 65 73 65 20 6d 65 74 | 68 6f 64 73 20 61 72 65 |hese met|hods are|
|00004380| 54 2d 2d 20 75 73 65 66 | 75 6c 20 77 68 65 6e 20 |T-- usef|ul when |
|00004390| 79 6f 75 20 6e 65 65 64 | 20 74 6f 20 75 73 65 20 |you need| to use |
|000043a0| 6d 43 6c 6f 73 65 57 69 | 6e 64 6f 77 20 6f 6e 20 |mCloseWi|ndow on |
|000043b0| 6e 6f 6e 2d 52 6f 6d 61 | 6e 20 73 79 73 74 65 6d |non-Roma|n system|
|000043c0| 73 20 6f 72 20 77 69 74 | 68 20 6e 6f 6e 73 74 61 |s or wit|h nonsta|
|000043d0| 6e 64 61 72 64 57 2d 2d | 20 65 78 74 65 6e 73 69 |ndardW--| extensi|
|000043e0| 6f 6e 73 20 6c 69 6b 65 | 20 27 41 61 72 6f 6e 27 |ons like| 'Aaron'|
|000043f0| 20 28 6f 72 20 75 73 65 | 72 20 69 6e 74 65 72 66 | (or use|r interf|
|00004400| 61 63 65 20 64 65 73 69 | 67 6e 20 63 68 61 6e 67 |ace desi|gn chang|
|00004410| 65 73 20 69 6e 20 66 75 | 74 75 72 65 20 73 79 73 |es in fu|ture sys|
|00004420| 74 65 6d 20 76 65 72 73 | 69 6f 6e 73 29 49 2d 2d |tem vers|ions)I--|
|00004430| 20 74 68 61 74 20 61 6c | 74 65 72 20 74 68 65 20 | that al|ter the |
|00004440| 6c 6f 6f 6b 20 6f 66 20 | 77 69 6e 64 6f 77 20 74 |look of |window t|
|00004450| 69 74 6c 65 20 62 61 72 | 73 2e 20 52 65 74 75 72 |itle bar|s. Retur|
|00004460| 6e 20 76 61 6c 75 65 73 | 3a 20 30 3a 20 6f 6b 3b |n values|: 0: ok;|
|00004470| 20 31 3a 20 62 61 64 25 | 2d 2d 20 77 69 6e 64 6f | 1: bad%|-- windo|
|00004480| 77 49 44 3b 20 32 3a 20 | 6e 6f 20 77 69 6e 64 64 |wID; 2: |no windd|
|00004490| 6f 77 20 74 69 74 6c 65 | 20 62 61 72 2e 28 58 49 |ow title| bar.(XI|
|000044a0| 49 20 6d 53 65 74 43 6c | 6f 73 65 42 6f 78 4f 66 |I mSetCl|oseBoxOf|
|000044b0| 66 73 65 74 2c 20 68 4f | 66 66 73 65 74 2c 20 76 |fset, hO|ffset, v|
|000044c0| 4f 66 66 73 65 74 55 2d | 2d 20 41 6c 6c 6f 77 73 |OffsetU-|- Allows|
|000044d0| 20 79 6f 75 20 74 6f 20 | 63 68 61 6e 67 65 20 74 | you to |change t|
|000044e0| 68 65 20 64 65 66 61 75 | 6c 74 20 61 73 73 75 6d |he defau|lt assum|
|000044f0| 70 74 69 6f 6e 20 74 68 | 61 74 20 61 20 77 69 6e |ption th|at a win|
|00004500| 64 6f 77 27 73 20 63 6c | 6f 73 65 20 62 6f 78 20 |dow's cl|ose box |
|00004510| 69 73 20 31 34 20 70 69 | 78 65 6c 73 59 2d 2d 20 |is 14 pi|xelsY-- |
|00004520| 66 72 6f 6d 20 74 68 65 | 20 6c 65 66 74 20 61 6e |from the| left an|
|00004530| 64 20 38 20 70 69 78 65 | 6c 73 20 66 72 6f 6d 20 |d 8 pixe|ls from |
|00004540| 74 68 65 20 74 6f 70 20 | 6f 66 20 74 68 65 20 77 |the top |of the w|
|00004550| 69 6e 64 6f 77 20 74 69 | 74 6c 65 20 62 61 72 2e |indow ti|tle bar.|
|00004560| 20 41 66 66 65 63 74 73 | 20 6d 43 6c 6f 73 65 57 | Affects| mCloseW|
|00004570| 69 6e 64 6f 77 2e 19 49 | 49 49 20 6d 46 69 6e 64 |indow..I|II mFind|
|00004580| 57 69 6e 64 6f 77 50 61 | 72 74 2c 20 78 2c 20 79 |WindowPa|rt, x, y|
|00004590| 50 2d 2d 20 41 6c 6c 6f | 77 73 20 79 6f 75 20 74 |P-- Allo|ws you t|
|000045a0| 6f 20 66 69 6e 64 20 77 | 68 61 74 20 70 61 72 74 |o find w|hat part|
|000045b0| 20 6f 66 20 61 20 77 69 | 6e 64 6f 77 20 69 73 20 | of a wi|ndow is |
|000045c0| 75 6e 64 65 72 20 70 6f | 69 6e 74 28 78 2c 79 29 |under po|int(x,y)|
|000045d0| 2e 20 4f 6e 6c 79 20 61 | 70 70 6c 69 65 73 20 74 |. Only a|pplies t|
|000045e0| 6f 55 2d 2d 20 74 68 65 | 20 44 69 72 65 63 74 6f |oU-- the| Directo|
|000045f0| 72 20 74 61 73 6b 27 73 | 20 6f 77 6e 20 77 69 6e |r task's| own win|
|00004600| 64 6f 77 73 2e 20 52 65 | 74 75 72 6e 73 20 6e 65 |dows. Re|turns ne|
|00004610| 67 61 74 69 76 65 20 6e | 75 6d 62 65 72 20 6f 6e |gative n|umber on|
|00004620| 20 65 72 72 6f 72 2c 20 | 6f 72 20 6f 6e 65 20 6f | error, |or one o|
|00004630| 66 20 74 68 65 73 65 56 | 2d 2d 20 63 6f 64 65 73 |f theseV|-- codes|
|00004640| 3a 20 30 3a 20 6f 75 74 | 73 69 64 65 20 61 6e 79 |: 0: out|side any|
|00004650| 20 44 69 72 65 63 74 6f | 72 20 77 69 6e 64 6f 77 | Directo|r window|
|00004660| 73 3b 20 31 3a 20 69 6e | 20 6d 65 6e 75 20 62 61 |s; 1: in| menu ba|
|00004670| 72 3b 20 32 3a 20 69 6e | 20 64 65 73 6b 20 61 63 |r; 2: in| desk ac|
|00004680| 63 65 73 73 6f 72 79 20 | 77 69 6e 64 6f 77 56 2d |cessory |windowV-|
|00004690| 2d 20 74 68 61 74 27 73 | 20 62 65 65 6e 20 6c 61 |- that's| been la|
|000046a0| 75 6e 63 68 65 64 20 69 | 6e 20 44 69 72 65 63 74 |unched i|n Direct|
|000046b0| 6f 72 27 73 20 6d 65 6d | 6f 72 79 20 70 61 72 74 |or's mem|ory part|
|000046c0| 69 74 69 6f 6e 3b 20 33 | 3a 20 77 69 6e 64 6f 77 |ition; 3|: window|
|000046d0| 20 63 6f 6e 74 65 6e 74 | 20 61 72 65 61 20 28 65 | content| area (e|
|000046e0| 78 63 65 70 74 52 2d 2d | 20 61 6e 79 20 73 69 7a |xceptR--| any siz|
|000046f0| 65 20 62 6f 78 65 73 29 | 3b 20 34 3a 20 74 69 74 |e boxes)|; 4: tit|
|00004700| 6c 65 20 62 61 72 3b 20 | 35 3a 20 73 69 7a 65 20 |le bar; |5: size |
|00004710| 62 6f 78 20 28 61 63 74 | 69 76 65 20 77 69 6e 64 |box (act|ive wind|
|00004720| 6f 77 73 20 6f 6e 6c 79 | 29 3b 20 36 3a 20 63 6c |ows only|); 6: cl|
|00004730| 6f 73 65 20 62 6f 78 3b | 54 2d 2d 20 37 3a 20 7a |ose box;|T-- 7: z|
|00004740| 6f 6f 6d 20 62 6f 78 20 | 28 73 74 61 6e 64 61 72 |oom box |(standar|
|00004750| 64 20 73 74 61 74 65 29 | 3b 20 38 3a 20 7a 6f 6f |d state)|; 8: zoo|
|00004760| 6d 20 62 6f 78 20 28 75 | 73 65 72 27 73 20 73 74 |m box (u|ser's st|
|00004770| 61 74 65 29 2e 20 44 69 | 6d 65 6e 73 69 6f 6e 73 |ate). Di|mensions|
|00004780| 20 61 72 65 20 72 65 6c | 61 74 69 76 65 3a 2d 2d | are rel|ative:--|
|00004790| 20 74 6f 20 74 68 65 20 | 74 6f 70 20 6c 65 66 74 | to the |top left|
|000047a0| 20 6f 66 20 74 68 65 20 | 73 63 72 65 65 6e 20 77 | of the |screen w|
|000047b0| 69 74 68 20 74 68 65 20 | 46 69 6e 64 65 72 20 6d |ith the |Finder m|
|000047c0| 65 6e 75 20 62 61 72 2e | 1a 49 49 20 6d 57 69 6e |enu bar.|.II mWin|
|000047d0| 64 6f 77 45 78 69 73 74 | 73 2c 20 77 69 6e 64 6f |dowExist|s, windo|
|000047e0| 77 49 44 39 2d 2d 20 52 | 65 74 75 72 6e 73 20 54 |wID9-- R|eturns T|
|000047f0| 52 55 45 20 69 66 20 74 | 68 65 20 77 69 6e 64 6f |RUE if t|he windo|
|00004800| 77 20 73 74 69 6c 6c 20 | 65 78 69 73 74 73 2c 20 |w still |exists, |
|00004810| 46 41 4c 53 45 20 69 66 | 20 6e 6f 74 2e 1b 49 49 |FALSE if| not..II|
|00004820| 20 6d 57 69 6e 64 6f 77 | 54 6f 46 72 6f 6e 74 2c | mWindow|ToFront,|
|00004830| 20 77 69 6e 64 6f 77 49 | 44 4e 2d 2d 20 42 72 69 | windowI|DN-- Bri|
|00004840| 6e 67 73 20 61 20 77 69 | 6e 64 6f 77 20 74 6f 20 |ngs a wi|ndow to |
|00004850| 74 68 65 20 66 72 6f 6e | 74 2e 20 49 66 20 74 68 |the fron|t. If th|
|00004860| 65 20 77 69 6e 64 6f 77 | 27 73 20 61 70 70 6c 69 |e window|'s appli|
|00004870| 63 61 74 69 6f 6e 20 69 | 73 20 6e 6f 74 20 61 6c |cation i|s not al|
|00004880| 72 65 61 64 79 20 69 6e | 24 2d 2d 20 66 72 6f 6e |ready in|$-- fron|
|00004890| 74 2c 20 69 74 20 77 69 | 6c 6c 20 62 65 20 6d 61 |t, it wi|ll be ma|
|000048a0| 64 65 20 66 72 6f 6e 74 | 6d 6f 73 74 2e 1a 49 49 |de front|most..II|
|000048b0| 20 6d 57 69 6e 64 6f 77 | 54 6f 42 61 63 6b 2c 20 | mWindow|ToBack, |
|000048c0| 77 69 6e 64 6f 77 49 44 | 46 2d 2d 20 53 65 6e 64 |windowID|F-- Send|
|000048d0| 73 20 61 20 77 69 6e 64 | 6f 77 20 74 6f 20 74 68 |s a wind|ow to th|
|000048e0| 65 20 62 61 63 6b 2e 20 | 44 6f 65 73 20 6e 6f 74 |e back. |Does not|
|000048f0| 20 61 66 66 65 63 74 20 | 61 70 70 6c 69 63 61 74 | affect |applicat|
|00004900| 69 6f 6e 20 64 72 61 77 | 20 6f 72 64 65 72 21 18 |ion draw| order!.|
|00004910| 49 49 20 6d 48 69 64 65 | 57 69 6e 64 6f 77 2c 20 |II mHide|Window, |
|00004920| 77 69 6e 64 6f 77 49 44 | 54 2d 2d 20 48 69 64 65 |windowID|T-- Hide|
|00004930| 73 20 61 20 76 69 73 69 | 62 6c 65 20 77 69 6e 64 |s a visi|ble wind|
|00004940| 6f 77 20 28 61 6e 64 20 | 6d 61 6b 65 73 20 69 74 |ow (and |makes it|
|00004950| 73 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 66 72 |s applic|ation fr|
|00004960| 6f 6e 74 6d 6f 73 74 20 | 69 66 20 69 74 27 73 20 |ontmost |if it's |
|00004970| 6e 6f 74 20 61 6c 72 65 | 61 64 79 29 2e 4e 2d 2d |not alre|ady).N--|
|00004980| 20 4e 6f 74 65 20 74 68 | 61 74 20 61 6e 20 61 70 | Note th|at an ap|
|00004990| 70 20 6d 69 67 68 74 20 | 6e 6f 74 20 72 65 61 6c |p might |not real|
|000049a0| 69 7a 65 20 69 74 73 20 | 77 69 6e 64 6f 77 20 69 |ize its |window i|
|000049b0| 73 20 68 69 64 64 65 6e | 20 28 69 2e 65 2e 2c 20 |s hidden| (i.e., |
|000049c0| 74 68 65 20 44 69 72 65 | 63 74 6f 72 4d 2d 2d 20 |the Dire|ctorM-- |
|000049d0| 61 75 74 68 6f 72 69 6e | 67 20 77 69 6e 64 6f 77 |authorin|g window|
|000049e0| 73 20 6d 61 79 20 6e 65 | 65 64 20 74 6f 20 62 65 |s may ne|ed to be|
|000049f0| 20 73 65 6c 65 63 74 65 | 64 20 74 77 69 63 65 20 | selecte|d twice |
|00004a00| 69 6e 20 74 68 65 20 6d | 65 6e 75 73 20 74 6f 20 |in the m|enus to |
|00004a10| 72 65 61 70 70 65 61 72 | 29 2e 3b 2d 2d 20 52 65 |reappear|).;-- Re|
|00004a20| 74 75 72 6e 73 20 30 20 | 66 6f 72 20 73 75 63 63 |turns 0 |for succ|
|00004a30| 65 73 73 2c 20 6f 72 20 | 2d 31 20 69 66 20 74 68 |ess, or |-1 if th|
|00004a40| 65 20 77 69 6e 64 6f 77 | 49 44 20 69 73 20 69 6e |e window|ID is in|
|00004a50| 76 61 6c 69 64 2e 18 49 | 49 20 6d 53 68 6f 77 57 |valid..I|I mShowW|
|00004a60| 69 6e 64 6f 77 2c 20 77 | 69 6e 64 6f 77 49 44 53 |indow, w|indowIDS|
|00004a70| 2d 2d 20 53 68 6f 77 73 | 20 61 20 68 69 64 64 65 |-- Shows| a hidde|
|00004a80| 6e 20 77 69 6e 64 6f 77 | 20 28 61 6e 64 20 6d 61 |n window| (and ma|
|00004a90| 6b 65 73 20 69 74 73 20 | 61 70 70 6c 69 63 61 74 |kes its |applicat|
|00004aa0| 69 6f 6e 20 66 72 6f 6e | 74 6d 6f 73 74 20 69 66 |ion fron|tmost if|
|00004ab0| 20 69 74 27 73 20 6e 6f | 74 20 61 6c 72 65 61 64 | it's no|t alread|
|00004ac0| 79 29 2e 50 2d 2d 20 59 | 6f 75 20 70 72 6f 62 61 |y).P-- Y|ou proba|
|00004ad0| 62 6c 79 20 77 61 6e 74 | 20 74 6f 20 75 73 65 20 |bly want| to use |
|00004ae0| 6d 53 65 74 41 63 74 69 | 76 65 57 69 6e 64 6f 77 |mSetActi|veWindow|
|00004af0| 20 6f 72 20 6d 57 69 6e | 64 6f 77 54 6f 46 72 6f | or mWin|dowToFro|
|00004b00| 6e 74 20 72 69 67 68 74 | 20 61 66 74 65 72 20 74 |nt right| after t|
|00004b10| 68 69 73 21 3b 2d 2d 20 | 52 65 74 75 72 6e 73 20 |his!;-- |Returns |
|00004b20| 30 20 66 6f 72 20 73 75 | 63 63 65 73 73 2c 20 6f |0 for su|ccess, o|
|00004b30| 72 20 2d 31 20 69 66 20 | 74 68 65 20 77 69 6e 64 |r -1 if |the wind|
|00004b40| 6f 77 49 44 20 69 73 20 | 69 6e 76 61 6c 69 64 2e |owID is |invalid.|
|00004b50| 1c 49 49 20 6d 4d 69 6e | 69 6d 69 7a 65 57 69 6e |.II mMin|imizeWin|
|00004b60| 64 6f 77 2c 20 77 69 6e | 64 6f 77 49 44 54 2d 2d |dow, win|dowIDT--|
|00004b70| 20 4d 61 6b 65 73 20 61 | 20 77 69 6e 64 6f 77 20 | Makes a| window |
|00004b80| 75 73 65 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |use the |applicat|
|00004b90| 69 6f 6e 20 64 65 66 69 | 6e 65 64 20 73 74 61 6e |ion defi|ned stan|
|00004ba0| 64 61 72 64 20 73 74 61 | 74 65 20 28 74 68 65 20 |dard sta|te (the |
|00004bb0| 63 6c 6f 73 65 73 74 20 | 65 71 75 69 76 61 6c 65 |closest |equivale|
|00004bc0| 6e 74 52 2d 2d 20 6f 6e | 20 74 68 65 20 4d 61 63 |ntR-- on| the Mac|
|00004bd0| 20 74 6f 20 74 68 69 73 | 20 57 69 6e 64 6f 77 73 | to this| Windows|
|00004be0| 20 66 75 6e 63 74 69 6f | 6e 29 2e 20 44 65 66 61 | functio|n). Defa|
|00004bf0| 75 6c 74 20 61 73 73 75 | 6d 70 74 69 6f 6e 73 20 |ult assu|mptions |
|00004c00| 61 62 6f 75 74 20 74 68 | 65 20 6c 6f 63 61 74 69 |about th|e locati|
|00004c10| 6f 6e 20 6f 66 54 2d 2d | 20 74 68 65 20 73 74 61 |on ofT--| the sta|
|00004c20| 6e 64 61 72 64 20 73 74 | 61 74 65 20 7a 6f 6f 6d |ndard st|ate zoom|
|00004c30| 20 67 61 64 67 65 74 20 | 69 6e 20 74 68 65 20 77 | gadget |in the w|
|00004c40| 69 6e 64 6f 77 20 74 69 | 74 6c 65 20 62 61 72 20 |indow ti|tle bar |
|00004c50| 63 61 6e 20 62 65 20 6f | 76 65 72 72 69 64 64 65 |can be o|verridde|
|00004c60| 6e 20 77 69 74 68 20 74 | 68 65 4f 2d 2d 20 6d 53 |n with t|heO-- mS|
|00004c70| 65 74 53 74 61 6e 64 61 | 72 64 5a 6f 6f 6d 4f 66 |etStanda|rdZoomOf|
|00004c80| 66 73 65 74 20 6d 65 74 | 68 6f 64 2e 20 52 65 74 |fset met|hod. Ret|
|00004c90| 75 72 6e 73 20 2d 31 20 | 66 6f 72 20 62 61 64 20 |urns -1 |for bad |
|00004ca0| 77 69 6e 64 6f 77 49 44 | 20 6f 72 20 30 20 66 6f |windowID| or 0 fo|
|00004cb0| 72 20 73 75 63 63 65 73 | 73 2e 54 2d 2d 20 4e 6f |r succes|s.T-- No|
|00004cc0| 74 65 20 74 68 61 74 20 | 74 68 65 20 77 69 6e 64 |te that |the wind|
|00004cd0| 6f 77 20 61 6e 64 20 69 | 74 73 20 61 70 70 20 73 |ow and i|ts app s|
|00004ce0| 68 6f 75 6c 64 20 61 6c | 72 65 61 64 79 20 62 65 |hould al|ready be|
|00004cf0| 20 66 72 6f 6e 74 6d 6f | 73 74 20 28 6f 72 20 74 | frontmo|st (or t|
|00004d00| 68 65 20 73 74 61 74 65 | 20 6f 66 20 74 68 65 4d |he state| of theM|
|00004d10| 2d 2d 20 77 69 6e 64 6f | 77 20 6d 69 67 68 74 20 |-- windo|w might |
|00004d20| 73 69 6d 70 6c 79 20 62 | 65 20 74 6f 67 67 6c 65 |simply b|e toggle|
|00004d30| 64 20 66 72 6f 6d 20 69 | 74 73 20 63 75 72 72 65 |d from i|ts curre|
|00004d40| 6e 74 20 73 74 61 74 65 | 2c 20 6f 72 20 6c 65 66 |nt state|, or lef|
|00004d50| 74 20 75 6e 63 68 61 6e | 67 65 64 29 2e 1b 49 49 |t unchan|ged)..II|
|00004d60| 20 6d 52 65 73 74 6f 72 | 65 57 69 6e 64 6f 77 2c | mRestor|eWindow,|
|00004d70| 20 77 69 6e 64 6f 77 49 | 44 54 2d 2d 20 4f 6e 20 | windowI|DT-- On |
|00004d80| 74 68 65 20 4d 61 63 2c | 20 6a 75 73 74 20 61 20 |the Mac,| just a |
|00004d90| 73 79 6e 6f 6e 6d 79 6d | 20 66 6f 72 20 6d 4d 61 |synonmym| for mMa|
|00004da0| 78 69 6d 69 7a 65 57 69 | 6e 64 6f 77 20 28 77 68 |ximizeWi|ndow (wh|
|00004db0| 69 63 68 20 73 65 74 73 | 20 74 68 65 20 75 73 65 |ich sets| the use|
|00004dc0| 72 20 7a 6f 6f 6d 20 73 | 74 61 74 65 29 2e 1c 49 |r zoom s|tate)..I|
|00004dd0| 49 20 6d 4d 61 78 69 6d | 69 7a 65 57 69 6e 64 6f |I mMaxim|izeWindo|
|00004de0| 77 2c 20 77 69 6e 64 6f | 77 49 44 4b 2d 2d 20 4d |w, windo|wIDK-- M|
|00004df0| 61 6b 65 73 20 61 20 77 | 69 6e 64 6f 77 20 75 73 |akes a w|indow us|
|00004e00| 65 20 74 68 65 20 75 73 | 65 72 20 64 65 66 69 6e |e the us|er defin|
|00004e10| 65 64 20 77 69 6e 64 6f | 77 20 73 74 61 74 65 20 |ed windo|w state |
|00004e20| 28 74 68 65 20 63 6c 6f | 73 65 73 74 20 65 71 75 |(the clo|sest equ|
|00004e30| 69 76 61 6c 65 6e 74 52 | 2d 2d 20 6f 6e 20 74 68 |ivalentR|-- on th|
|00004e40| 65 20 4d 61 63 20 74 6f | 20 74 68 69 73 20 57 69 |e Mac to| this Wi|
|00004e50| 6e 64 6f 77 73 20 66 75 | 6e 63 74 69 6f 6e 29 2e |ndows fu|nction).|
|00004e60| 20 44 65 66 61 75 6c 74 | 20 61 73 73 75 6d 70 74 | Default| assumpt|
|00004e70| 69 6f 6e 73 20 61 62 6f | 75 74 20 74 68 65 20 6c |ions abo|ut the l|
|00004e80| 6f 63 61 74 69 6f 6e 20 | 6f 66 50 2d 2d 20 74 68 |ocation |ofP-- th|
|00004e90| 65 20 75 73 65 72 20 73 | 74 61 74 65 20 7a 6f 6f |e user s|tate zoo|
|00004ea0| 6d 20 67 61 64 67 65 74 | 20 69 6e 20 74 68 65 20 |m gadget| in the |
|00004eb0| 77 69 6e 64 6f 77 20 74 | 69 74 6c 65 20 62 61 72 |window t|itle bar|
|00004ec0| 20 63 61 6e 20 62 65 20 | 6f 76 65 72 72 69 64 64 | can be |overridd|
|00004ed0| 65 6e 20 77 69 74 68 20 | 74 68 65 4b 2d 2d 20 6d |en with |theK-- m|
|00004ee0| 53 65 74 55 73 65 72 5a | 6f 6f 6d 4f 66 66 73 65 |SetUserZ|oomOffse|
|00004ef0| 74 20 6d 65 74 68 6f 64 | 2e 20 52 65 74 75 72 6e |t method|. Return|
|00004f00| 73 20 2d 31 20 66 6f 72 | 20 62 61 64 20 77 69 6e |s -1 for| bad win|
|00004f10| 64 6f 77 49 44 20 6f 72 | 20 30 20 66 6f 72 20 73 |dowID or| 0 for s|
|00004f20| 75 63 63 65 73 73 2e 54 | 2d 2d 20 4e 6f 74 65 20 |uccess.T|-- Note |
|00004f30| 74 68 61 74 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |that the| window |
|00004f40| 61 6e 64 20 69 74 73 20 | 61 70 70 20 73 68 6f 75 |and its |app shou|
|00004f50| 6c 64 20 61 6c 72 65 61 | 64 79 20 62 65 20 66 72 |ld alrea|dy be fr|
|00004f60| 6f 6e 74 6d 6f 73 74 20 | 28 6f 72 20 74 68 65 20 |ontmost |(or the |
|00004f70| 73 74 61 74 65 20 6f 66 | 20 74 68 65 4d 2d 2d 20 |state of| theM-- |
|00004f80| 77 69 6e 64 6f 77 20 6d | 69 67 68 74 20 73 69 6d |window m|ight sim|
|00004f90| 70 6c 79 20 62 65 20 74 | 6f 67 67 6c 65 64 20 66 |ply be t|oggled f|
|00004fa0| 72 6f 6d 20 69 74 73 20 | 63 75 72 72 65 6e 74 20 |rom its |current |
|00004fb0| 73 74 61 74 65 2c 20 6f | 72 20 6c 65 66 74 20 75 |state, o|r left u|
|00004fc0| 6e 63 68 61 6e 67 65 64 | 29 2e 1c 58 49 49 20 6d |nchanged|)..XII m|
|00004fd0| 53 65 74 55 73 65 72 5a | 6f 6f 6d 4f 66 66 73 65 |SetUserZ|oomOffse|
|00004fe0| 74 2c 20 78 2c 20 79 20 | 58 49 49 20 6d 53 65 74 |t, x, y |XII mSet|
|00004ff0| 53 74 61 6e 64 61 72 64 | 5a 6f 6f 6d 4f 66 66 73 |Standard|ZoomOffs|
|00005000| 65 74 2c 20 78 2c 20 79 | 58 2d 2d 20 41 6c 6c 6f |et, x, y|X-- Allo|
|00005010| 77 73 20 79 6f 75 20 74 | 6f 20 6f 76 65 72 72 69 |ws you t|o overri|
|00005020| 64 65 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 61 |de the d|efault a|
|00005030| 73 73 75 6d 70 74 69 6f | 6e 20 74 68 61 74 20 74 |ssumptio|n that t|
|00005040| 68 65 20 75 73 65 72 20 | 61 6e 64 20 73 74 61 6e |he user |and stan|
|00005050| 64 61 72 64 20 7a 6f 6f | 6d 20 67 61 64 67 65 74 |dard zoo|m gadget|
|00005060| 73 56 2d 2d 20 61 72 65 | 20 6c 6f 63 61 74 65 64 |sV-- are| located|
|00005070| 20 31 34 20 70 69 78 65 | 6c 73 20 6c 65 66 74 20 | 14 pixe|ls left |
|00005080| 61 6e 64 20 38 20 70 69 | 78 65 6c 73 20 64 6f 77 |and 8 pi|xels dow|
|00005090| 6e 20 66 72 6f 6d 20 74 | 68 65 20 74 6f 70 20 72 |n from t|he top r|
|000050a0| 69 67 68 74 20 6f 66 20 | 74 68 65 20 77 69 6e 64 |ight of |the wind|
|000050b0| 6f 77 20 74 69 74 6c 65 | 57 2d 2d 20 62 61 72 2e |ow title|W-- bar.|
|000050c0| 20 54 68 69 73 20 63 61 | 6e 20 62 65 20 75 73 65 | This ca|n be use|
|000050d0| 66 75 6c 20 6f 6e 20 6e | 6f 6e 2d 52 6f 6d 61 6e |ful on n|on-Roman|
|000050e0| 20 73 79 73 74 65 6d 20 | 76 65 72 73 69 6f 6e 73 | system |versions|
|000050f0| 2c 20 6f 72 20 77 68 65 | 6e 20 74 68 69 72 64 2d |, or whe|n third-|
|00005100| 70 61 72 74 79 20 65 78 | 74 65 6e 73 69 6f 6e 73 |party ex|tensions|
|00005110| 57 2d 2d 20 6c 69 6b 65 | 20 27 41 61 72 6f 6e 27 |W-- like| 'Aaron'|
|00005120| 20 28 6f 72 20 75 73 65 | 72 20 69 6e 74 65 72 66 | (or use|r interf|
|00005130| 61 63 65 20 64 65 73 69 | 67 6e 20 63 68 61 6e 67 |ace desi|gn chang|
|00005140| 65 73 20 69 6e 20 66 75 | 74 75 72 65 20 73 79 73 |es in fu|ture sys|
|00005150| 74 65 6d 20 76 65 72 73 | 69 6f 6e 73 29 20 63 68 |tem vers|ions) ch|
|00005160| 61 6e 67 65 20 74 68 65 | 59 2d 2d 20 61 70 70 65 |ange the|Y-- appe|
|00005170| 61 72 61 6e 63 65 20 6f | 66 20 74 68 65 20 77 69 |arance o|f the wi|
|00005180| 6e 64 6f 77 20 74 69 74 | 6c 65 20 62 61 72 73 2e |ndow tit|le bars.|
|00005190| 20 55 73 65 20 6d 46 69 | 6e 64 57 69 6e 64 6f 77 | Use mFi|ndWindow|
|000051a0| 50 61 72 74 20 74 6f 20 | 64 65 74 65 72 6d 69 6e |Part to |determin|
|000051b0| 65 20 74 68 69 73 20 69 | 6e 66 6f 72 6d 61 74 69 |e this i|nformati|
|000051c0| 6f 6e 56 2d 2d 20 6f 6e | 20 6e 6f 6e 2d 52 6f 6d |onV-- on| non-Rom|
|000051d0| 61 6e 20 73 79 73 74 65 | 6d 73 2e 20 43 75 72 72 |an syste|ms. Curr|
|000051e0| 65 6e 74 6c 79 2c 20 74 | 68 65 20 75 73 65 72 20 |ently, t|he user |
|000051f0| 61 6e 64 20 73 74 61 6e | 64 61 72 64 20 7a 6f 6f |and stan|dard zoo|
|00005200| 6d 20 67 61 64 67 65 74 | 73 20 6f 63 63 75 70 79 |m gadget|s occupy|
|00005210| 20 74 68 65 20 73 61 6d | 65 47 2d 2d 20 6c 6f 63 | the sam|eG-- loc|
|00005220| 61 74 69 6f 6e 20 69 6e | 20 74 68 65 20 77 69 6e |ation in| the win|
|00005230| 64 6f 77 20 74 69 74 6c | 65 20 62 61 72 2c 20 62 |dow titl|e bar, b|
|00005240| 75 74 20 74 68 69 73 20 | 6d 61 79 20 63 68 61 6e |ut this |may chan|
|00005250| 67 65 20 69 6e 20 74 68 | 65 20 66 75 74 75 72 65 |ge in th|e future|
|00005260| 2e 02 2d 2d 02 2d 2d 11 | 2d 2d 20 4c 41 55 4e 43 |..--.--.|-- LAUNC|
|00005270| 48 20 4d 45 54 48 4f 44 | 53 11 2d 2d 20 2d 2d 2d |H METHOD|S.-- ---|
|00005280| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 5a 2d 2d 20 4e |--------|---Z-- N|
|00005290| 6f 74 65 20 6f 6e 20 74 | 68 65 20 66 6f 6c 6c 6f |ote on t|he follo|
|000052a0| 77 69 6e 67 20 6c 61 75 | 6e 63 68 20 6d 65 74 68 |wing lau|nch meth|
|000052b0| 6f 64 73 3a 20 6e 6f 74 | 20 61 6c 6c 20 61 70 70 |ods: not| all app|
|000052c0| 73 20 72 65 73 70 65 63 | 74 20 74 68 65 20 72 65 |s respec|t the re|
|000052d0| 71 75 65 73 74 65 64 20 | 64 69 73 70 6c 61 79 20 |quested |display |
|000052e0| 74 79 70 65 73 2e 55 2d | 2d 20 53 6f 6d 65 20 61 |types.U-|- Some a|
|000052f0| 70 70 73 20 61 6c 77 61 | 79 73 20 61 73 73 75 6d |pps alwa|ys assum|
|00005300| 65 20 74 68 65 79 20 61 | 72 65 20 62 65 69 6e 67 |e they a|re being|
|00005310| 20 6c 61 75 6e 63 68 65 | 64 20 69 6e 20 74 68 65 | launche|d in the|
|00005320| 20 66 72 6f 6e 74 2e 20 | 54 65 73 74 69 6e 67 20 | front. |Testing |
|00005330| 69 73 20 72 65 71 75 69 | 72 65 64 21 58 2d 2d 20 |is requi|red!X-- |
|00005340| 41 6c 73 6f 20 6e 6f 74 | 65 20 74 68 61 74 20 6f |Also not|e that o|
|00005350| 6e 20 74 68 65 20 4d 61 | 63 20 79 6f 75 20 6d 61 |n the Ma|c you ma|
|00005360| 79 20 6e 65 65 64 20 74 | 6f 20 73 65 74 20 74 68 |y need t|o set th|
|00005370| 65 20 6d 65 6e 75 20 62 | 61 72 20 68 65 69 67 68 |e menu b|ar heigh|
|00005380| 74 20 77 68 65 6e 20 6c | 61 75 6e 63 68 69 6e 67 |t when l|aunching|
|00005390| 20 61 70 70 73 58 2d 2d | 20 66 72 6f 6d 20 70 72 | appsX--| from pr|
|000053a0| 6f 6a 65 63 74 6f 72 73 | 20 28 73 65 65 20 6d 47 |ojectors| (see mG|
|000053b0| 65 74 4d 65 6e 75 42 61 | 72 48 65 69 67 68 74 2c |etMenuBa|rHeight,|
|000053c0| 20 6d 53 65 74 4d 65 6e | 75 42 61 72 48 65 69 67 | mSetMen|uBarHeig|
|000053d0| 68 74 2c 20 65 74 63 2e | 20 62 65 6c 6f 77 29 2e |ht, etc.| below).|
|000053e0| 20 42 75 74 20 79 6f 75 | 20 6d 69 67 68 74 53 2d | But you| mightS-|
|000053f0| 2d 20 63 68 6f 6f 73 65 | 20 2a 6e 6f 74 2a 20 74 |- choose| *not* t|
|00005400| 6f 20 73 65 74 20 74 68 | 65 20 6d 65 6e 75 20 62 |o set th|e menu b|
|00005410| 61 72 20 68 65 69 67 68 | 74 20 69 66 20 79 6f 75 |ar heigh|t if you|
|00005420| 20 77 61 6e 74 20 74 6f | 20 72 65 73 74 72 69 63 | want to| restric|
|00005430| 74 20 61 63 63 65 73 73 | 20 74 6f 20 6d 65 6e 75 |t access| to menu|
|00005440| 73 2e 02 2d 2d 34 49 53 | 53 20 6d 4c 61 75 6e 63 |s..--4IS|S mLaunc|
|00005450| 68 2c 20 74 68 65 50 72 | 6f 67 72 61 6d 46 69 6c |h, thePr|ogramFil|
|00005460| 65 2c 20 74 68 65 43 6f | 6d 6d 61 6e 64 4c 69 6e |e, theCo|mmandLin|
|00005470| 65 41 72 67 75 6d 65 6e | 74 73 4d 2d 2d 20 4f 70 |eArgumen|tsM-- Op|
|00005480| 65 6e 73 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |ens appl|ication |
|00005490| 69 6e 64 69 63 61 74 65 | 64 20 62 79 20 74 68 65 |indicate|d by the|
|000054a0| 20 66 75 6c 6c 20 70 61 | 74 68 6e 61 6d 65 20 27 | full pa|thname '|
|000054b0| 74 68 65 50 72 6f 67 72 | 61 6d 46 69 6c 65 27 2c |theProgr|amFile',|
|000054c0| 20 69 66 20 69 74 27 73 | 4b 2d 2d 20 6e 6f 74 20 | if it's|K-- not |
|000054d0| 61 6c 72 65 61 64 79 20 | 6f 70 65 6e 2c 20 6f 72 |already |open, or|
|000054e0| 20 73 77 69 74 63 68 65 | 73 20 74 68 61 74 20 61 | switche|s that a|
|000054f0| 70 70 20 74 6f 20 74 68 | 65 20 66 72 6f 6e 74 20 |pp to th|e front |
|00005500| 69 66 20 69 74 20 69 73 | 20 6f 70 65 6e 3b 20 61 |if it is| open; a|
|00005510| 6c 73 6f 2c 52 2d 2d 20 | 69 66 20 61 6e 79 74 68 |lso,R-- |if anyth|
|00005520| 69 6e 67 20 6f 74 68 65 | 72 20 74 68 61 6e 20 45 |ing othe|r than E|
|00005530| 4d 50 54 59 20 69 73 20 | 70 72 6f 76 69 64 65 64 |MPTY is |provided|
|00005540| 20 66 6f 72 20 27 74 68 | 65 43 6f 6d 6d 61 6e 64 | for 'th|eCommand|
|00005550| 4c 69 6e 65 41 72 67 75 | 6d 65 6e 74 73 27 2c 20 |LineArgu|ments', |
|00005560| 61 73 73 75 6d 65 73 55 | 2d 2d 20 69 74 20 69 73 |assumesU|-- it is|
|00005570| 20 61 20 66 75 6c 6c 20 | 70 61 74 68 6e 61 6d 65 | a full |pathname|
|00005580| 20 74 6f 20 61 20 64 6f | 63 75 6d 65 6e 74 20 79 | to a do|cument y|
|00005590| 6f 75 20 77 61 6e 74 20 | 6f 70 65 6e 65 64 20 69 |ou want |opened i|
|000055a0| 6e 20 74 68 65 20 61 70 | 70 2e 20 52 65 74 75 72 |n the ap|p. Retur|
|000055b0| 6e 73 20 61 20 6e 65 67 | 61 74 69 76 65 55 2d 2d |ns a neg|ativeU--|
|000055c0| 20 6e 75 6d 62 65 72 20 | 66 6f 72 20 65 72 72 6f | number |for erro|
|000055d0| 72 73 20 28 2d 31 30 38 | 20 69 73 20 61 20 63 6f |rs (-108| is a co|
|000055e0| 6d 6d 6f 6e 20 6f 6e 65 | 2c 20 66 6f 72 20 6e 6f |mmon one|, for no|
|000055f0| 74 20 65 6e 6f 75 67 68 | 20 6d 65 6d 6f 72 79 29 |t enough| memory)|
|00005600| 2c 20 6f 72 20 61 6e 20 | 69 6e 73 74 61 6e 63 65 |, or an |instance|
|00005610| 49 44 2e 43 49 53 53 20 | 6d 4c 61 75 6e 63 68 42 |ID.CISS |mLaunchB|
|00005620| 75 74 44 6f 6e 74 41 63 | 74 69 76 61 74 65 2c 20 |utDontAc|tivate, |
|00005630| 74 68 65 50 72 6f 67 72 | 61 6d 46 69 6c 65 2c 20 |theProgr|amFile, |
|00005640| 74 68 65 43 6f 6d 6d 61 | 6e 64 4c 69 6e 65 41 72 |theComma|ndLineAr|
|00005650| 67 75 6d 65 6e 74 73 54 | 2d 2d 20 53 69 6d 69 6c |gumentsT|-- Simil|
|00005660| 61 72 20 74 6f 20 6d 4c | 61 75 6e 63 68 2c 20 62 |ar to mL|aunch, b|
|00005670| 75 74 20 77 6f 6e 27 74 | 20 73 77 69 74 63 68 20 |ut won't| switch |
|00005680| 61 6e 20 61 6c 72 65 61 | 64 79 20 72 75 6e 6e 69 |an alrea|dy runni|
|00005690| 6e 67 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 74 |ng appli|cation t|
|000056a0| 6f 20 74 68 65 20 66 72 | 6f 6e 74 2c 51 2d 2d 20 |o the fr|ont,Q-- |
|000056b0| 61 6e 64 20 77 6f 6e 27 | 74 20 6c 61 75 6e 63 68 |and won'|t launch|
|000056c0| 20 6e 65 77 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | new app|lication|
|000056d0| 73 20 69 6e 20 66 72 6f | 6e 74 2e 20 4e 6f 74 65 |s in fro|nt. Note|
|000056e0| 20 74 68 61 74 20 73 75 | 70 70 6c 79 69 6e 67 20 | that su|pplying |
|000056f0| 61 20 64 6f 63 75 6d 65 | 6e 74 20 6d 61 79 34 2d |a docume|nt may4-|
|00005700| 2d 20 63 61 75 73 65 20 | 74 68 65 20 61 70 70 20 |- cause |the app |
|00005710| 74 6f 20 6d 6f 76 65 20 | 69 74 73 65 6c 66 20 74 |to move |itself t|
|00005720| 6f 20 74 68 65 20 66 72 | 6f 6e 74 20 61 6e 79 77 |o the fr|ont anyw|
|00005730| 61 79 2e 3a 49 53 53 20 | 6d 4c 61 75 6e 63 68 48 |ay.:ISS |mLaunchH|
|00005740| 69 64 64 65 6e 2c 20 74 | 68 65 50 72 6f 67 72 61 |idden, t|heProgra|
|00005750| 6d 46 69 6c 65 2c 20 74 | 68 65 43 6f 6d 6d 61 6e |mFile, t|heComman|
|00005760| 64 4c 69 6e 65 41 72 67 | 75 6d 65 6e 74 73 3d 49 |dLineArg|uments=I|
|00005770| 53 53 20 6d 4c 61 75 6e | 63 68 4d 69 6e 69 6d 69 |SS mLaun|chMinimi|
|00005780| 7a 65 64 2c 20 74 68 65 | 50 72 6f 67 72 61 6d 46 |zed, the|ProgramF|
|00005790| 69 6c 65 2c 20 74 68 65 | 43 6f 6d 6d 61 6e 64 4c |ile, the|CommandL|
|000057a0| 69 6e 65 41 72 67 75 6d | 65 6e 74 73 53 2d 2d 20 |ineArgum|entsS-- |
|000057b0| 54 68 65 72 65 27 73 20 | 6e 6f 20 4d 61 63 20 65 |There's |no Mac e|
|000057c0| 71 75 69 76 61 6c 65 6e | 74 73 20 66 6f 72 20 74 |quivalen|ts for t|
|000057d0| 68 65 73 65 20 57 69 6e | 64 6f 77 73 20 6d 65 74 |hese Win|dows met|
|000057e0| 68 6f 64 73 2c 20 73 6f | 20 74 68 65 73 65 20 61 |hods, so| these a|
|000057f0| 72 65 20 6a 75 73 74 20 | 73 79 6e 6f 6e 79 6d 73 |re just |synonyms|
|00005800| 29 2d 2d 20 66 6f 72 20 | 6d 4c 61 75 6e 63 68 42 |)-- for |mLaunchB|
|00005810| 75 74 44 6f 6e 74 41 63 | 74 69 76 61 74 65 20 6f |utDontAc|tivate o|
|00005820| 6e 20 74 68 65 20 4d 61 | 63 2e 3d 49 53 53 20 6d |n the Ma|c.=ISS m|
|00005830| 4c 61 75 6e 63 68 4d 61 | 78 69 6d 69 7a 65 64 2c |LaunchMa|ximized,|
|00005840| 20 74 68 65 50 72 6f 67 | 72 61 6d 46 69 6c 65 2c | theProg|ramFile,|
|00005850| 20 74 68 65 43 6f 6d 6d | 61 6e 64 4c 69 6e 65 41 | theComm|andLineA|
|00005860| 72 67 75 6d 65 6e 74 73 | 4f 2d 2d 20 54 68 65 72 |rguments|O-- Ther|
|00005870| 65 27 73 20 6e 6f 20 4d | 61 63 20 65 71 75 69 76 |e's no M|ac equiv|
|00005880| 61 6c 65 6e 74 20 66 6f | 72 20 74 68 69 73 20 57 |alent fo|r this W|
|00005890| 69 6e 64 6f 77 73 20 6d | 65 74 68 6f 64 2c 20 73 |indows m|ethod, s|
|000058a0| 6f 20 74 68 69 73 20 69 | 73 20 6a 75 73 74 20 61 |o this i|s just a|
|000058b0| 20 73 79 6e 6f 6e 79 6d | 1a 2d 2d 20 66 6f 72 20 | synonym|.-- for |
|000058c0| 6d 4c 61 75 6e 63 68 20 | 6f 6e 20 74 68 65 20 4d |mLaunch |on the M|
|000058d0| 61 63 2e 02 2d 2d 02 2d | 2d 13 2d 2d 20 4c 41 55 |ac..--.-|-.-- LAU|
|000058e0| 4e 43 48 20 55 54 49 4c | 49 54 49 45 53 13 2d 2d |NCH UTIL|ITIES.--|
|000058f0| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|00005900| 2d 02 2d 2d 1d 53 53 20 | 6d 4c 6f 63 61 74 65 45 |-.--.SS |mLocateE|
|00005910| 78 65 63 75 74 61 62 6c | 65 2c 20 74 68 65 46 69 |xecutabl|e, theFi|
|00005920| 6c 65 48 2d 2d 20 52 65 | 74 75 72 6e 73 20 74 68 |leH-- Re|turns th|
|00005930| 65 20 66 75 6c 6c 20 66 | 69 6c 65 6e 61 6d 65 20 |e full f|ilename |
|00005940| 6f 66 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |of the a|pplicati|
|00005950| 6f 6e 20 72 65 67 69 73 | 74 65 72 65 64 20 74 6f |on regis|tered to|
|00005960| 20 6c 61 75 6e 63 68 20 | 74 68 65 46 2d 2d 20 70 | launch |theF-- p|
|00005970| 72 6f 76 69 64 65 64 20 | 66 69 6c 65 20 28 75 73 |rovided |file (us|
|00005980| 65 20 61 20 66 75 6c 6c | 20 70 61 74 68 20 74 6f |e a full| path to|
|00005990| 20 74 68 65 20 66 69 6c | 65 6e 61 6d 65 29 2e 20 | the fil|ename). |
|000059a0| 41 6c 74 65 72 6e 61 74 | 69 76 65 20 75 73 61 67 |Alternat|ive usag|
|000059b0| 65 3a 45 2d 2d 20 70 72 | 6f 76 69 64 65 20 61 6e |e:E-- pr|ovide an|
|000059c0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 6e 61 6d | applica|tion nam|
|000059d0| 65 20 77 69 74 68 6f 75 | 74 20 61 20 70 61 74 68 |e withou|t a path|
|000059e0| 2c 20 69 6e 73 74 65 61 | 64 20 6f 66 20 61 20 64 |, instea|d of a d|
|000059f0| 6f 63 75 6d 65 6e 74 3b | 43 2d 2d 20 74 68 65 20 |ocument;|C-- the |
|00005a00| 61 70 70 6c 69 63 61 74 | 69 6f 6e 27 73 20 66 6f |applicat|ion's fo|
|00005a10| 6c 64 65 72 20 77 69 6c | 6c 20 62 65 20 72 65 74 |lder wil|l be ret|
|00005a20| 75 72 6e 65 64 2e 20 52 | 65 74 75 72 6e 73 20 61 |urned. R|eturns a|
|00005a30| 20 73 74 72 69 6e 67 20 | 77 69 74 68 47 2d 2d 20 | string |withG-- |
|00005a40| 77 6f 72 64 20 31 20 27 | 45 72 72 6f 72 3a 27 20 |word 1 '|Error:' |
|00005a50| 69 66 20 6e 6f 74 68 69 | 6e 67 20 63 61 6e 20 62 |if nothi|ng can b|
|00005a60| 65 20 6c 6f 63 61 74 65 | 64 2e 20 4e 6f 74 65 20 |e locate|d. Note |
|00005a70| 74 68 61 74 20 74 68 65 | 20 61 6c 74 65 72 6e 61 |that the| alterna|
|00005a80| 74 69 76 65 4c 2d 2d 20 | 75 73 61 67 65 20 63 61 |tiveL-- |usage ca|
|00005a90| 6e 20 74 61 6b 65 20 71 | 75 69 74 65 20 61 20 77 |n take q|uite a w|
|00005aa0| 68 69 6c 65 2c 20 61 73 | 20 69 74 20 73 65 61 72 |hile, as| it sear|
|00005ab0| 63 68 65 73 20 61 6c 6c | 20 6c 6f 63 61 6c 20 61 |ches all| local a|
|00005ac0| 6e 64 20 6e 65 74 77 6f | 72 6b 20 64 69 73 6b 73 |nd netwo|rk disks|
|00005ad0| 2e 51 2d 2d 20 41 6c 73 | 6f 20 6e 6f 74 65 20 74 |.Q-- Als|o note t|
|00005ae0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 4d 61 63 |he follo|wing Mac|
|00005af0| 2d 6f 6e 6c 79 20 61 6c | 69 61 73 20 6d 65 74 68 |-only al|ias meth|
|00005b00| 6f 64 73 20 77 68 69 63 | 68 20 61 66 66 65 63 74 |ods whic|h affect|
|00005b10| 20 6d 4c 6f 63 61 74 65 | 45 78 65 63 75 74 61 62 | mLocate|Executab|
|00005b20| 6c 65 2e 1c 58 20 6d 4c | 6f 63 61 74 65 41 6c 69 |le..X mL|ocateAli|
|00005b30| 61 73 65 73 20 2d 2d 4d | 61 63 20 6f 6e 6c 79 21 |ases --M|ac only!|
|00005b40| 20 58 20 6d 44 6f 6e 74 | 4c 6f 63 61 74 65 41 6c | X mDont|LocateAl|
|00005b50| 69 61 73 65 73 20 2d 2d | 4d 61 63 20 6f 6e 6c 79 |iases --|Mac only|
|00005b60| 21 42 2d 2d 20 43 6f 6e | 74 72 6f 6c 73 20 77 68 |!B-- Con|trols wh|
|00005b70| 65 74 68 65 72 20 74 68 | 65 20 6d 4c 6f 63 61 74 |ether th|e mLocat|
|00005b80| 65 45 78 65 63 75 74 61 | 62 6c 65 20 6d 65 74 68 |eExecuta|ble meth|
|00005b90| 6f 64 20 77 69 6c 6c 20 | 72 65 74 75 72 6e 20 61 |od will |return a|
|00005ba0| 6c 69 61 73 48 2d 2d 20 | 66 69 6c 65 73 20 77 68 |liasH-- |files wh|
|00005bb0| 65 6e 20 75 73 69 6e 67 | 20 74 68 65 20 61 6c 74 |en using| the alt|
|00005bc0| 65 72 6e 61 74 69 76 65 | 20 73 79 6e 74 61 78 20 |ernative| syntax |
|00005bd0| 74 6f 20 66 69 6e 64 20 | 61 20 73 70 65 63 69 66 |to find |a specif|
|00005be0| 69 63 20 66 69 6c 65 20 | 6e 61 6d 65 2e 48 2d 2d |ic file |name.H--|
|00005bf0| 20 54 68 65 20 64 65 66 | 61 75 6c 74 20 69 73 20 | The def|ault is |
|00005c00| 2a 6e 6f 74 2a 20 74 6f | 20 6c 6f 63 61 74 65 20 |*not* to| locate |
|00005c10| 61 6c 69 61 73 65 73 2e | 20 49 66 20 79 6f 75 20 |aliases.| If you |
|00005c20| 61 73 6b 20 74 6f 20 6c | 6f 63 61 74 65 20 61 6c |ask to l|ocate al|
|00005c30| 69 61 73 65 73 2c 48 2d | 2d 20 75 73 65 20 6d 52 |iases,H-|- use mR|
|00005c40| 65 73 6f 6c 76 65 41 6c | 69 61 73 20 74 6f 20 63 |esolveAl|ias to c|
|00005c50| 68 65 63 6b 20 77 68 65 | 74 68 65 72 20 61 20 6c |heck whe|ther a l|
|00005c60| 6f 63 61 74 65 64 20 66 | 69 6c 65 20 69 73 20 72 |ocated f|ile is r|
|00005c70| 65 61 6c 6c 79 20 61 6e | 20 61 6c 69 61 73 2e 25 |eally an| alias.%|
|00005c80| 53 53 20 6d 52 65 73 6f | 6c 76 65 41 6c 69 61 73 |SS mReso|lveAlias|
|00005c90| 2c 20 74 68 65 46 69 6c | 65 20 2d 2d 4d 61 63 20 |, theFil|e --Mac |
|00005ca0| 6f 6e 6c 79 21 52 2d 2d | 20 54 65 6c 6c 73 20 77 |only!R--| Tells w|
|00005cb0| 68 69 63 68 20 66 69 6c | 65 20 6f 72 20 66 6f 6c |hich fil|e or fol|
|00005cc0| 64 65 72 20 69 73 20 72 | 65 66 65 72 72 65 64 20 |der is r|eferred |
|00005cd0| 74 6f 20 62 79 20 61 6e | 20 61 6c 69 61 73 20 66 |to by an| alias f|
|00005ce0| 69 6c 65 2c 20 6f 72 20 | 72 65 74 75 72 6e 73 20 |ile, or |returns |
|00005cf0| 61 6e 20 65 72 72 6f 72 | 48 2d 2d 20 77 69 74 68 |an error|H-- with|
|00005d00| 20 77 6f 72 64 20 31 20 | 27 3a 45 72 72 6f 72 3a | word 1 |':Error:|
|00005d10| 27 20 28 6e 6f 74 65 20 | 74 68 65 20 69 6e 69 74 |' (note |the init|
|00005d20| 69 61 6c 20 63 6f 6c 6f | 6e 2c 20 77 68 69 63 68 |ial colo|n, which|
|00005d30| 20 64 69 73 74 69 6e 67 | 75 69 73 68 65 73 20 61 | disting|uishes a|
|00005d40| 6e 4f 2d 2d 20 65 72 72 | 6f 72 20 66 72 6f 6d 20 |nO-- err|or from |
|00005d50| 61 20 76 61 6c 69 64 6c | 79 20 72 65 73 6f 6c 76 |a validl|y resolv|
|00005d60| 65 64 20 66 69 6c 65 20 | 6f 72 20 66 6f 6c 64 65 |ed file |or folde|
|00005d70| 72 20 6f 6e 20 61 20 68 | 61 72 64 20 64 72 69 76 |r on a h|ard driv|
|00005d80| 65 20 6e 61 6d 65 64 20 | 27 45 72 72 6f 72 27 29 |e named |'Error')|
|00005d90| 2e 13 49 20 6d 47 65 74 | 4d 65 6e 75 42 61 72 48 |..I mGet|MenuBarH|
|00005da0| 65 69 67 68 74 1f 49 49 | 20 6d 53 65 74 4d 65 6e |eight.II| mSetMen|
|00005db0| 75 42 61 72 48 65 69 67 | 68 74 2c 20 6e 65 77 48 |uBarHeig|ht, newH|
|00005dc0| 65 69 67 68 74 12 49 20 | 6d 47 65 74 53 79 73 74 |eight.I |mGetSyst|
|00005dd0| 65 6d 53 63 72 69 70 74 | 12 49 20 6d 47 65 74 53 |emScript|.I mGetS|
|00005de0| 79 73 74 65 6d 52 65 67 | 69 6f 6e 46 2d 2d 20 54 |ystemReg|ionF-- T|
|00005df0| 68 65 73 65 20 6d 65 74 | 68 6f 64 73 20 61 72 65 |hese met|hods are|
|00005e00| 20 75 73 65 66 75 6c 20 | 74 6f 20 61 73 73 75 72 | useful |to assur|
|00005e10| 65 20 74 68 61 74 20 61 | 6e 79 20 61 70 70 6c 69 |e that a|ny appli|
|00005e20| 63 61 74 69 6f 6e 73 20 | 79 6f 75 20 6c 61 75 6e |cations |you laun|
|00005e30| 63 68 4a 2d 2d 20 6f 72 | 20 73 77 69 74 63 68 20 |chJ-- or| switch |
|00005e40| 74 6f 20 70 72 6f 70 65 | 72 6c 79 20 64 69 73 70 |to prope|rly disp|
|00005e50| 6c 61 79 20 74 68 65 69 | 72 20 6d 65 6e 75 73 2e |lay thei|r menus.|
|00005e60| 20 4d 61 63 20 70 72 6f | 6a 65 63 74 6f 72 73 20 | Mac pro|jectors |
|00005e70| 64 6f 6e 27 74 20 63 6f | 6e 74 61 69 6e 51 2d 2d |don't co|ntainQ--|
|00005e80| 20 6d 65 6e 75 73 20 75 | 73 75 61 6c 6c 79 3b 20 | menus u|sually; |
|00005e90| 74 68 65 73 65 20 4d 61 | 63 2d 6f 6e 6c 79 20 6d |these Ma|c-only m|
|00005ea0| 65 74 68 6f 64 73 20 6c | 65 74 20 79 6f 75 20 73 |ethods l|et you s|
|00005eb0| 6f 6c 76 65 20 61 6e 79 | 20 6d 65 6e 75 20 64 69 |olve any| menu di|
|00005ec0| 73 70 6c 61 79 20 70 72 | 6f 62 6c 65 6d 73 2e 48 |splay pr|oblems.H|
|00005ed0| 2d 2d 20 54 68 65 20 55 | 53 20 73 79 73 74 65 6d |-- The U|S system|
|00005ee0| 20 73 63 72 69 70 74 20 | 28 30 29 20 75 73 65 73 | script |(0) uses|
|00005ef0| 20 61 20 73 74 61 6e 64 | 61 72 64 20 6d 65 6e 75 | a stand|ard menu|
|00005f00| 20 62 61 72 20 68 65 69 | 67 68 74 20 6f 66 20 32 | bar hei|ght of 2|
|00005f10| 30 2e 20 4f 74 68 65 72 | 49 2d 2d 20 6c 6f 63 61 |0. Other|I-- loca|
|00005f20| 6c 69 7a 65 64 20 73 79 | 73 74 65 6d 20 76 65 72 |lized sy|stem ver|
|00005f30| 73 69 6f 6e 73 20 6d 61 | 79 20 75 73 65 20 64 69 |sions ma|y use di|
|00005f40| 66 66 65 72 65 6e 74 20 | 68 65 69 67 68 74 73 2e |fferent |heights.|
|00005f50| 20 54 68 65 20 70 72 6f | 70 65 72 20 68 65 69 67 | The pro|per heig|
|00005f60| 68 74 4c 2d 2d 20 74 6f | 20 75 73 65 20 63 61 6e |htL-- to| use can|
|00005f70| 20 62 65 20 64 65 74 65 | 72 6d 69 6e 65 64 20 69 | be dete|rmined i|
|00005f80| 6e 20 74 68 65 20 61 75 | 74 68 6f 72 69 6e 67 20 |n the au|thoring |
|00005f90| 4d 65 73 73 61 67 65 20 | 77 69 6e 64 6f 77 20 6f |Message |window o|
|00005fa0| 6e 20 73 75 63 68 20 73 | 79 73 74 65 6d 73 2e 4b |n such s|ystems.K|
|00005fb0| 2d 2d 20 53 65 65 20 74 | 68 65 20 73 75 70 70 6c |-- See t|he suppl|
|00005fc0| 69 65 64 20 52 65 61 64 | 20 4d 65 20 69 6e 66 6f |ied Read| Me info|
|00005fd0| 20 66 6f 72 20 74 68 65 | 20 6d 65 61 6e 69 6e 67 | for the| meaning|
|00005fe0| 20 6f 66 20 73 63 72 69 | 70 74 20 26 20 72 65 67 | of scri|pt & reg|
|00005ff0| 69 6f 6e 20 76 61 6c 75 | 65 73 2e 48 2d 2d 20 4f |ion valu|es.H-- O|
|00006000| 72 2c 20 75 73 65 20 4c | 69 6e 67 6f 27 73 20 27 |r, use L|ingo's '|
|00006010| 69 6e 73 74 61 6c 6c 4d | 65 6e 75 27 20 74 6f 20 |installM|enu' to |
|00006020| 69 6e 73 74 61 6c 6c 20 | 61 20 62 6c 61 6e 6b 20 |install |a blank |
|00006030| 6d 65 6e 75 20 69 6e 20 | 61 20 70 72 6f 6a 65 63 |menu in |a projec|
|00006040| 74 6f 72 2c 4d 2d 2d 20 | 6f 6e 63 65 2c 20 74 65 |tor,M-- |once, te|
|00006050| 6d 70 6f 72 61 72 69 6c | 79 2c 20 74 6f 20 64 65 |mporaril|y, to de|
|00006060| 74 65 72 6d 69 6e 65 20 | 74 68 65 20 6d 65 6e 75 |termine |the menu|
|00006070| 20 62 61 72 20 68 65 69 | 67 68 74 20 69 6e 20 74 | bar hei|ght in t|
|00006080| 68 65 20 63 75 72 72 65 | 6e 74 20 73 79 73 74 65 |he curre|nt syste|
|00006090| 6d 2e 1d 53 53 20 6d 47 | 65 74 53 68 6f 72 74 46 |m..SS mG|etShortF|
|000060a0| 69 6c 65 4e 61 6d 65 2c | 20 74 68 65 46 69 6c 65 |ileName,| theFile|
|000060b0| 1c 53 53 20 6d 47 65 74 | 4c 6f 6e 67 46 69 6c 65 |.SS mGet|LongFile|
|000060c0| 4e 61 6d 65 2c 20 74 68 | 65 46 69 6c 65 54 2d 2d |Name, th|eFileT--|
|000060d0| 20 4f 6e 20 74 68 65 20 | 4d 61 63 2c 20 74 68 65 | On the |Mac, the|
|000060e0| 72 65 20 69 73 20 6e 6f | 20 64 69 66 66 65 72 65 |re is no| differe|
|000060f0| 6e 63 65 20 69 6e 20 66 | 69 6c 65 20 6e 61 6d 69 |nce in f|ile nami|
|00006100| 6e 67 2c 20 73 6f 20 74 | 68 65 73 65 20 6d 65 74 |ng, so t|hese met|
|00006110| 68 6f 64 73 20 73 69 6d | 70 6c 79 20 72 65 74 75 |hods sim|ply retu|
|00006120| 72 6e 22 2d 2d 20 74 68 | 65 20 73 61 6d 65 20 73 |rn"-- th|e same s|
|00006130| 74 72 69 6e 67 20 70 61 | 73 73 65 64 20 74 6f 20 |tring pa|ssed to |
|00006140| 74 68 65 6d 2e 19 49 53 | 20 6d 4f 70 65 6e 44 6f |them..IS| mOpenDo|
|00006150| 63 75 6d 65 6e 74 2c 20 | 74 68 65 46 69 6c 65 4a |cument, |theFileJ|
|00006160| 2d 2d 20 4f 70 65 6e 73 | 20 61 20 64 6f 63 75 6d |-- Opens| a docum|
|00006170| 65 6e 74 20 77 69 74 68 | 20 69 74 73 20 72 65 67 |ent with| its reg|
|00006180| 69 73 74 65 72 65 64 20 | 61 70 70 6c 69 63 61 74 |istered |applicat|
|00006190| 69 6f 6e 20 28 6c 61 75 | 6e 63 68 69 6e 67 20 74 |ion (lau|nching t|
|000061a0| 68 65 20 61 70 70 2c 20 | 69 66 47 2d 2d 20 6e 65 |he app, |ifG-- ne|
|000061b0| 63 65 73 73 61 72 79 29 | 2e 20 52 65 74 75 72 6e |cessary)|. Return|
|000061c0| 73 20 61 6e 20 69 6e 73 | 74 61 6e 63 65 49 44 20 |s an ins|tanceID |
|000061d0| 6f 66 20 74 68 65 20 6c | 61 75 6e 63 68 65 64 20 |of the l|aunched |
|000061e0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2c 20 6f 72 20 |applicat|ion, or |
|000061f0| 2d 31 45 2d 2d 20 69 66 | 20 74 68 65 20 66 69 6c |-1E-- if| the fil|
|00006200| 65 20 69 73 20 6d 69 73 | 73 69 6e 67 2c 20 6f 72 |e is mis|sing, or|
|00006210| 20 61 6e 6f 74 68 65 72 | 20 6e 65 67 61 74 69 76 | another| negativ|
|00006220| 65 20 6e 75 6d 62 65 72 | 20 69 66 20 74 68 65 72 |e number| if ther|
|00006230| 65 27 73 20 73 6f 6d 65 | 4b 2d 2d 20 6f 74 68 65 |e's some|K-- othe|
|00006240| 72 20 70 72 6f 62 6c 65 | 6d 20 6f 70 65 6e 69 6e |r proble|m openin|
|00006250| 67 20 74 68 65 20 64 6f | 63 75 6d 65 6e 74 2e 20 |g the do|cument. |
|00006260| 4f 6e 20 74 68 65 20 4d | 61 63 2c 20 79 6f 75 20 |On the M|ac, you |
|00006270| 6d 61 79 20 6e 65 65 64 | 20 74 6f 20 73 65 74 20 |may need| to set |
|00006280| 74 68 65 20 4e 2d 2d 20 | 6d 65 6e 75 20 62 61 72 |the N-- |menu bar|
|00006290| 20 68 65 69 67 68 74 20 | 77 68 65 6e 20 6c 61 75 | height |when lau|
|000062a0| 6e 63 68 69 6e 67 20 61 | 70 70 73 20 66 72 6f 6d |nching a|pps from|
|000062b0| 20 70 72 6f 6a 65 63 74 | 6f 72 73 20 28 73 65 65 | project|ors (see|
|000062c0| 20 6d 47 65 74 4d 65 6e | 75 42 61 72 48 65 69 67 | mGetMen|uBarHeig|
|000062d0| 68 74 2c 22 2d 2d 20 6d | 53 65 74 4d 65 6e 75 42 |ht,"-- m|SetMenuB|
|000062e0| 61 72 48 65 69 67 68 74 | 2c 20 65 74 63 2e 20 61 |arHeight|, etc. a|
|000062f0| 62 6f 76 65 29 2e 1a 49 | 53 20 6d 50 72 69 6e 74 |bove)..I|S mPrint|
|00006300| 44 6f 63 75 6d 65 6e 74 | 2c 20 74 68 65 46 69 6c |Document|, theFil|
|00006310| 65 4b 2d 2d 20 50 72 69 | 6e 74 73 20 61 20 64 6f |eK-- Pri|nts a do|
|00006320| 63 75 6d 65 6e 74 20 77 | 69 74 68 20 69 74 73 20 |cument w|ith its |
|00006330| 72 65 67 69 73 74 65 72 | 65 64 20 61 70 70 6c 69 |register|ed appli|
|00006340| 63 61 74 69 6f 6e 20 28 | 6c 61 75 6e 63 68 69 6e |cation (|launchin|
|00006350| 67 20 74 68 65 20 61 70 | 70 2c 20 69 66 47 2d 2d |g the ap|p, ifG--|
|00006360| 20 6e 65 63 65 73 73 61 | 72 79 29 2e 20 52 65 74 | necessa|ry). Ret|
|00006370| 75 72 6e 73 20 61 6e 20 | 69 6e 73 74 61 6e 63 65 |urns an |instance|
|00006380| 49 44 20 6f 66 20 74 68 | 65 20 6c 61 75 6e 63 68 |ID of th|e launch|
|00006390| 65 64 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 2c 20 |ed appli|cation, |
|000063a0| 6f 72 20 2d 31 45 2d 2d | 20 69 66 20 74 68 65 20 |or -1E--| if the |
|000063b0| 66 69 6c 65 20 69 73 20 | 6d 69 73 73 69 6e 67 2c |file is |missing,|
|000063c0| 20 6f 72 20 61 6e 6f 74 | 68 65 72 20 6e 65 67 61 | or anot|her nega|
|000063d0| 74 69 76 65 20 6e 75 6d | 62 65 72 20 69 66 20 74 |tive num|ber if t|
|000063e0| 68 65 72 65 27 73 20 73 | 6f 6d 65 4a 2d 2d 20 6f |here's s|omeJ-- o|
|000063f0| 74 68 65 72 20 70 72 6f | 62 6c 65 6d 20 6f 70 65 |ther pro|blem ope|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.